Enum ledb_actix::Comp
source · pub enum Comp {
Eq(KeyData),
In(Vec<KeyData, Global>),
Lt(KeyData),
Le(KeyData),
Gt(KeyData),
Ge(KeyData),
Bw(KeyData, bool, KeyData, bool),
Has,
}
Expand description
Comparison operator of filter
Variants
Eq(KeyData)
Equal
In(Vec<KeyData, Global>)
In set (equal one of)
Lt(KeyData)
Less than
Le(KeyData)
Less than or equal
Gt(KeyData)
Greater than
Ge(KeyData)
Greater than or equal
Bw(KeyData, bool, KeyData, bool)
Between (in range)
Has
Field exists (not null)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Comp
impl<'de> Deserialize<'de> for Comp
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Comp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Comp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for Comp
impl Serialize for Comp
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Comp
impl StructuralEq for Comp
impl StructuralPartialEq for Comp
Auto Trait Implementations
impl RefUnwindSafe for Comp
impl Send for Comp
impl Sync for Comp
impl Unpin for Comp
impl UnwindSafe for Comp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> DefaultFeatures<'a> for Twhere
T: 'a + Send + Sync + Clone,
impl<'a, T> DefaultFeatures<'a> for Twhere
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait. Read morefn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self
. Read moreimpl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a, Global>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait. Read morefn self_address_mut(&mut self) -> *mut ()
fn self_address_mut(&mut self) -> *mut ()
Returns the address of
self
. Read moreimpl<T> SafeBorrow<T> for Twhere
T: ?Sized,
impl<T> SafeBorrow<T> for Twhere
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
fn borrow_replacement(ptr: &T) -> &T
Given
ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more