pub enum QueryStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}
Expand description
All available types of table query
Variantsยง
Select(SelectStatement)
Insert(InsertStatement)
Update(UpdateStatement)
Delete(DeleteStatement)
Trait Implementationsยง
Sourceยงimpl Clone for QueryStatement
impl Clone for QueryStatement
Sourceยงfn clone(&self) -> QueryStatement
fn clone(&self) -> QueryStatement
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 QueryStatement
impl Debug for QueryStatement
Sourceยงimpl From<DeleteStatement> for QueryStatement
impl From<DeleteStatement> for QueryStatement
Sourceยงfn from(s: DeleteStatement) -> Self
fn from(s: DeleteStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<InsertStatement> for QueryStatement
impl From<InsertStatement> for QueryStatement
Sourceยงfn from(s: InsertStatement) -> Self
fn from(s: InsertStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<SelectStatement> for QueryStatement
impl From<SelectStatement> for QueryStatement
Sourceยงfn from(s: SelectStatement) -> Self
fn from(s: SelectStatement) -> Self
Converts to this type from the input type.
Sourceยงimpl From<UpdateStatement> for QueryStatement
impl From<UpdateStatement> for QueryStatement
Sourceยงfn from(s: UpdateStatement) -> Self
fn from(s: UpdateStatement) -> Self
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for QueryStatement
impl RefUnwindSafe for QueryStatement
impl Send for QueryStatement
impl Sync for QueryStatement
impl Unpin for QueryStatement
impl UnwindSafe for QueryStatement
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