pub enum PreparableStmt {
CompoundSelect(CompoundSelect),
Delete(Delete),
Insert(Insert),
Merge(Merge),
Select(Select),
SelectInto(SelectInto),
Table(Table),
Update(Update),
Values(Values),
}Variants§
CompoundSelect(CompoundSelect)
Delete(Delete)
Insert(Insert)
Merge(Merge)
Select(Select)
SelectInto(SelectInto)
Table(Table)
Update(Update)
Values(Values)
Trait Implementations§
Source§impl AstNode for PreparableStmt
impl AstNode for PreparableStmt
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for PreparableStmt
impl Clone for PreparableStmt
Source§fn clone(&self) -> PreparableStmt
fn clone(&self) -> PreparableStmt
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 PreparableStmt
impl Debug for PreparableStmt
Source§impl From<CompoundSelect> for PreparableStmt
impl From<CompoundSelect> for PreparableStmt
Source§fn from(node: CompoundSelect) -> PreparableStmt
fn from(node: CompoundSelect) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Delete> for PreparableStmt
impl From<Delete> for PreparableStmt
Source§fn from(node: Delete) -> PreparableStmt
fn from(node: Delete) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Insert> for PreparableStmt
impl From<Insert> for PreparableStmt
Source§fn from(node: Insert) -> PreparableStmt
fn from(node: Insert) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Merge> for PreparableStmt
impl From<Merge> for PreparableStmt
Source§fn from(node: Merge) -> PreparableStmt
fn from(node: Merge) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Select> for PreparableStmt
impl From<Select> for PreparableStmt
Source§fn from(node: Select) -> PreparableStmt
fn from(node: Select) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<SelectInto> for PreparableStmt
impl From<SelectInto> for PreparableStmt
Source§fn from(node: SelectInto) -> PreparableStmt
fn from(node: SelectInto) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Table> for PreparableStmt
impl From<Table> for PreparableStmt
Source§fn from(node: Table) -> PreparableStmt
fn from(node: Table) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Update> for PreparableStmt
impl From<Update> for PreparableStmt
Source§fn from(node: Update) -> PreparableStmt
fn from(node: Update) -> PreparableStmt
Converts to this type from the input type.
Source§impl From<Values> for PreparableStmt
impl From<Values> for PreparableStmt
Source§fn from(node: Values) -> PreparableStmt
fn from(node: Values) -> PreparableStmt
Converts to this type from the input type.
Source§impl Hash for PreparableStmt
impl Hash for PreparableStmt
Source§impl PartialEq for PreparableStmt
impl PartialEq for PreparableStmt
impl Eq for PreparableStmt
impl StructuralPartialEq for PreparableStmt
Auto Trait Implementations§
impl Freeze for PreparableStmt
impl !RefUnwindSafe for PreparableStmt
impl !Send for PreparableStmt
impl !Sync for PreparableStmt
impl Unpin for PreparableStmt
impl !UnwindSafe for PreparableStmt
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