pub struct MatchParamCmpIOperation<'c> { /* private fields */ }Expand description
A match.param.cmpi operation. Matches if two parameter lists are associated with the same value.
Succeeds if all of the co-indexed values associated with the given parameters relate as specified by the predicate (greater than, less than, equal to, or their combinations). Comparison treats all values as signed. Produces a silenceable failure otherwise.
Implementations§
Source§impl<'c> MatchParamCmpIOperation<'c>
impl<'c> MatchParamCmpIOperation<'c>
Sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
Sourcepub fn builder(
context: &'c Context,
location: Location<'c>,
) -> MatchParamCmpIOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> MatchParamCmpIOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.
pub fn param(&self) -> Result<Value<'c, '_>, Error>
pub fn reference(&self) -> Result<Value<'c, '_>, Error>
pub fn predicate(&self) -> Result<Attribute<'c>, Error>
pub fn set_predicate(&mut self, value: Attribute<'c>)
Trait Implementations§
Source§impl<'c> Clone for MatchParamCmpIOperation<'c>
impl<'c> Clone for MatchParamCmpIOperation<'c>
Source§fn clone(&self) -> MatchParamCmpIOperation<'c>
fn clone(&self) -> MatchParamCmpIOperation<'c>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'c> Debug for MatchParamCmpIOperation<'c>
impl<'c> Debug for MatchParamCmpIOperation<'c>
Source§impl<'b> From<MatchParamCmpIOperation<'b>> for TransformDialectOperation<'b>
impl<'b> From<MatchParamCmpIOperation<'b>> for TransformDialectOperation<'b>
Source§fn from(op: MatchParamCmpIOperation<'b>) -> Self
fn from(op: MatchParamCmpIOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<MatchParamCmpIOperation<'c>> for Operation<'c>
impl<'c> From<MatchParamCmpIOperation<'c>> for Operation<'c>
Source§fn from(operation: MatchParamCmpIOperation<'c>) -> Self
fn from(operation: MatchParamCmpIOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for MatchParamCmpIOperation<'c>
impl<'c> PartialEq for MatchParamCmpIOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for MatchParamCmpIOperation<'c>
impl<'c> TryFrom<Operation<'c>> for MatchParamCmpIOperation<'c>
impl<'c> Eq for MatchParamCmpIOperation<'c>
impl<'c> StructuralPartialEq for MatchParamCmpIOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for MatchParamCmpIOperation<'c>
impl<'c> RefUnwindSafe for MatchParamCmpIOperation<'c>
impl<'c> !Send for MatchParamCmpIOperation<'c>
impl<'c> !Sync for MatchParamCmpIOperation<'c>
impl<'c> Unpin for MatchParamCmpIOperation<'c>
impl<'c> UnwindSafe for MatchParamCmpIOperation<'c>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more