pub enum QueryStatement {
Select(SelectStatement),
Insert(InsertStatement),
Update(UpdateStatement),
Delete(DeleteStatement),
}Expand description
One of the four table statements.
Variants§
Trait Implementations§
Source§impl Clone for QueryStatement
impl Clone for QueryStatement
Source§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 Forget for QueryStatement
impl Freeze for QueryStatement
impl RefUnwindSafe for QueryStatement
impl Send for QueryStatement
impl Sync for QueryStatement
impl Unpin for QueryStatement
impl UnsafeUnpin 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