pub enum Query<'a> {
Select(Box<Select<'a>>),
Insert(Box<Insert<'a>>),
Update(Box<Update<'a>>),
Delete(Box<Delete<'a>>),
}
Expand description
A database query
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> From<MultiRowInsert<'a>> for Query<'a>
impl<'a> From<MultiRowInsert<'a>> for Query<'a>
Source§fn from(insert: MultiRowInsert<'a>) -> Query<'a>
fn from(insert: MultiRowInsert<'a>) -> Query<'a>
Converts to this type from the input type.
Source§impl<'a> From<SingleRowInsert<'a>> for Query<'a>
impl<'a> From<SingleRowInsert<'a>> for Query<'a>
Source§fn from(insert: SingleRowInsert<'a>) -> Query<'a>
fn from(insert: SingleRowInsert<'a>) -> Query<'a>
Converts to this type from the input type.
impl<'a> StructuralPartialEq for Query<'a>
Auto Trait Implementations§
impl<'a> Freeze for Query<'a>
impl<'a> RefUnwindSafe for Query<'a>
impl<'a> Send for Query<'a>
impl<'a> Sync for Query<'a>
impl<'a> Unpin for Query<'a>
impl<'a> UnwindSafe for Query<'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