pub enum QueryStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}
Expand description
All available types of table query
Variants§
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