pub enum Filter {
Show 13 variants
Eq(&'static str, Value),
Ne(&'static str, Value),
Gt(&'static str, Value),
Lt(&'static str, Value),
Ge(&'static str, Value),
In(&'static str, Vec<Value>),
Le(&'static str, Value),
Like(&'static str, String),
NotNull(&'static str),
IsNull(&'static str),
And(Box<Filter>, Box<Filter>),
Or(Box<Filter>, Box<Filter>),
Not(Box<Filter>),
}Expand description
super::Query filters.
Variants§
Eq(&'static str, Value)
Ne(&'static str, Value)
Gt(&'static str, Value)
Lt(&'static str, Value)
Ge(&'static str, Value)
In(&'static str, Vec<Value>)
Le(&'static str, Value)
Like(&'static str, String)
NotNull(&'static str)
IsNull(&'static str)
And(Box<Filter>, Box<Filter>)
Or(Box<Filter>, Box<Filter>)
Not(Box<Filter>)
Implementations§
Trait Implementations§
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnwindSafe for Filter
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