Enum luna_orm_trait::CmpOperator
source · pub enum CmpOperator {
Eq,
LessThan,
LessOrEq,
GreaterThan,
GreaterOrEq,
Like,
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for CmpOperator
impl Clone for CmpOperator
source§fn clone(&self) -> CmpOperator
fn clone(&self) -> CmpOperator
Returns a copy 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 Debug for CmpOperator
impl Debug for CmpOperator
source§impl<'de> Deserialize<'de> for CmpOperator
impl<'de> Deserialize<'de> for CmpOperator
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CmpOperator
impl PartialEq for CmpOperator
source§fn eq(&self, other: &CmpOperator) -> bool
fn eq(&self, other: &CmpOperator) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CmpOperator
impl Serialize for CmpOperator
impl Eq for CmpOperator
impl StructuralEq for CmpOperator
impl StructuralPartialEq for CmpOperator
Auto Trait Implementations§
impl RefUnwindSafe for CmpOperator
impl Send for CmpOperator
impl Sync for CmpOperator
impl Unpin for CmpOperator
impl UnwindSafe for CmpOperator
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
§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
Compare self to
key and return true if they are equal.