pub enum Where<'a> {
And(Vec<Where<'a>>),
Or(Vec<Where<'a>>),
Not(Box<Where<'a>>),
Raw(SqlChunk<'a>),
Empty,
}
Expand description
An enum representing the WHERE
clause of a query.
Variants§
And(Vec<Where<'a>>)
A number of conditions joined by AND
.
Or(Vec<Where<'a>>)
A number of conditions joined by OR
.
Not(Box<Where<'a>>)
A negated condition.
Raw(SqlChunk<'a>)
A raw condition.
Empty
An empty WHERE
clause.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Where<'a>
impl<'a> !RefUnwindSafe for Where<'a>
impl<'a> Send for Where<'a>
impl<'a> Sync for Where<'a>
impl<'a> Unpin for Where<'a>
impl<'a> !UnwindSafe for Where<'a>
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