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> 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.
Auto Trait Implementations§
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