Enum QueryStatement
pub enum QueryStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}Expand description
All available types of table query
Variants§
Trait Implementations§
§impl Clone for QueryStatement
impl Clone for QueryStatement
§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 more§impl Debug for QueryStatement
impl Debug for QueryStatement
§impl From<DeleteStatement> for QueryStatement
impl From<DeleteStatement> for QueryStatement
§fn from(s: DeleteStatement) -> Self
fn from(s: DeleteStatement) -> Self
Converts to this type from the input type.
§impl From<InsertStatement> for QueryStatement
impl From<InsertStatement> for QueryStatement
§fn from(s: InsertStatement) -> Self
fn from(s: InsertStatement) -> Self
Converts to this type from the input type.
§impl From<SelectStatement> for QueryStatement
impl From<SelectStatement> for QueryStatement
§fn from(s: SelectStatement) -> Self
fn from(s: SelectStatement) -> Self
Converts to this type from the input type.
§impl From<UpdateStatement> for QueryStatement
impl From<UpdateStatement> for QueryStatement
§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