Enum mpl_token_auth_rules::state::Operator
source · #[repr(u64)]pub enum Operator {
Lt = 0,
LtEq = 1,
Eq = 2,
GtEq = 3,
Gt = 4,
}Expand description
Operators that can be used to compare against an Amount rule.
Variants§
Lt = 0
Less Than
LtEq = 1
Less Than or Equal To
Eq = 2
Equal To
GtEq = 3
Greater Than or Equal To
Gt = 4
Greater Than
Trait Implementations§
source§impl PartialEq for Operator
impl PartialEq for Operator
impl Eq for Operator
impl StructuralEq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more