pub enum SqlPredicate {
Eq {
path: FieldPath,
value: SqlValue,
},
Lt {
path: FieldPath,
value: SqlValue,
},
Lte {
path: FieldPath,
value: SqlValue,
},
Gt {
path: FieldPath,
value: SqlValue,
},
Gte {
path: FieldPath,
value: SqlValue,
},
And(Vec<SqlPredicate>),
Or(Vec<SqlPredicate>),
}Variants§
Trait Implementations§
Source§impl Clone for SqlPredicate
impl Clone for SqlPredicate
Source§fn clone(&self) -> SqlPredicate
fn clone(&self) -> SqlPredicate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SqlPredicate
impl Debug for SqlPredicate
impl Eq for SqlPredicate
Source§impl PartialEq for SqlPredicate
impl PartialEq for SqlPredicate
Source§fn eq(&self, other: &SqlPredicate) -> bool
fn eq(&self, other: &SqlPredicate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqlPredicate
Auto Trait Implementations§
impl Freeze for SqlPredicate
impl RefUnwindSafe for SqlPredicate
impl Send for SqlPredicate
impl Sync for SqlPredicate
impl Unpin for SqlPredicate
impl UnsafeUnpin for SqlPredicate
impl UnwindSafe for SqlPredicate
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