pub enum ParsedStatement {
Select(ParsedSelect),
CreateTable(ParsedCreateTable),
DropTable(String),
CreateIndex(ParsedCreateIndex),
Insert(ParsedInsert),
Update(ParsedUpdate),
Delete(ParsedDelete),
}Expand description
Top-level parsed SQL statement.
Variants§
Select(ParsedSelect)
SELECT query
CreateTable(ParsedCreateTable)
CREATE TABLE DDL
DropTable(String)
DROP TABLE DDL
CreateIndex(ParsedCreateIndex)
CREATE INDEX DDL
Insert(ParsedInsert)
INSERT DML
Update(ParsedUpdate)
UPDATE DML
Delete(ParsedDelete)
DELETE DML
Trait Implementations§
Source§impl Clone for ParsedStatement
impl Clone for ParsedStatement
Source§fn clone(&self) -> ParsedStatement
fn clone(&self) -> ParsedStatement
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 moreAuto Trait Implementations§
impl Freeze for ParsedStatement
impl RefUnwindSafe for ParsedStatement
impl Send for ParsedStatement
impl Sync for ParsedStatement
impl Unpin for ParsedStatement
impl UnwindSafe for ParsedStatement
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