pub enum SQLCommand {
Insert(String),
Delete(String),
Update(String),
CreateTable(String),
Select(String),
Unknown(String),
}Variants§
Implementations§
Source§impl SQLCommand
impl SQLCommand
pub fn new(command: String) -> SQLCommand
Trait Implementations§
Source§impl Debug for SQLCommand
impl Debug for SQLCommand
Source§impl PartialEq for SQLCommand
impl PartialEq for SQLCommand
impl StructuralPartialEq for SQLCommand
Auto Trait Implementations§
impl Freeze for SQLCommand
impl RefUnwindSafe for SQLCommand
impl Send for SQLCommand
impl Sync for SQLCommand
impl Unpin for SQLCommand
impl UnsafeUnpin for SQLCommand
impl UnwindSafe for SQLCommand
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