pub enum OwnedOperator {
Equals(Literal),
Range {
lower: Bound<Literal>,
upper: Bound<Literal>,
},
GreaterThan(Literal),
GreaterThanOrEquals(Literal),
LessThan(Literal),
LessThanOrEquals(Literal),
In(Vec<Literal>),
StartsWith {
pattern: String,
case_sensitive: bool,
},
EndsWith {
pattern: String,
case_sensitive: bool,
},
Contains {
pattern: String,
case_sensitive: bool,
},
IsNull,
IsNotNull,
}Variants§
Equals(Literal)
Range
GreaterThan(Literal)
GreaterThanOrEquals(Literal)
LessThan(Literal)
LessThanOrEquals(Literal)
In(Vec<Literal>)
StartsWith
EndsWith
Contains
IsNull
IsNotNull
Implementations§
Source§impl OwnedOperator
impl OwnedOperator
pub fn to_operator(&self) -> Operator<'_>
Trait Implementations§
Source§impl Clone for OwnedOperator
impl Clone for OwnedOperator
Source§fn clone(&self) -> OwnedOperator
fn clone(&self) -> OwnedOperator
Returns a duplicate 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 OwnedOperator
impl Debug for OwnedOperator
Source§impl<'a> From<&'a Operator<'a>> for OwnedOperator
impl<'a> From<&'a Operator<'a>> for OwnedOperator
Source§fn from(op: &'a Operator<'a>) -> OwnedOperator
fn from(op: &'a Operator<'a>) -> OwnedOperator
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OwnedOperator
impl RefUnwindSafe for OwnedOperator
impl Send for OwnedOperator
impl Sync for OwnedOperator
impl Unpin for OwnedOperator
impl UnwindSafe for OwnedOperator
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