pub enum SchemaElement {
CreateIndex(CreateIndex),
CreateSequence(CreateSequence),
CreateTable(CreateTable),
CreateTrigger(CreateTrigger),
CreateView(CreateView),
Grant(Grant),
}Variants§
CreateIndex(CreateIndex)
CreateSequence(CreateSequence)
CreateTable(CreateTable)
CreateTrigger(CreateTrigger)
CreateView(CreateView)
Grant(Grant)
Trait Implementations§
Source§impl AstNode for SchemaElement
impl AstNode for SchemaElement
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 SchemaElement
impl Clone for SchemaElement
Source§fn clone(&self) -> SchemaElement
fn clone(&self) -> SchemaElement
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 SchemaElement
impl Debug for SchemaElement
Source§impl From<CreateIndex> for SchemaElement
impl From<CreateIndex> for SchemaElement
Source§fn from(node: CreateIndex) -> SchemaElement
fn from(node: CreateIndex) -> SchemaElement
Converts to this type from the input type.
Source§impl From<CreateSequence> for SchemaElement
impl From<CreateSequence> for SchemaElement
Source§fn from(node: CreateSequence) -> SchemaElement
fn from(node: CreateSequence) -> SchemaElement
Converts to this type from the input type.
Source§impl From<CreateTable> for SchemaElement
impl From<CreateTable> for SchemaElement
Source§fn from(node: CreateTable) -> SchemaElement
fn from(node: CreateTable) -> SchemaElement
Converts to this type from the input type.
Source§impl From<CreateTrigger> for SchemaElement
impl From<CreateTrigger> for SchemaElement
Source§fn from(node: CreateTrigger) -> SchemaElement
fn from(node: CreateTrigger) -> SchemaElement
Converts to this type from the input type.
Source§impl From<CreateView> for SchemaElement
impl From<CreateView> for SchemaElement
Source§fn from(node: CreateView) -> SchemaElement
fn from(node: CreateView) -> SchemaElement
Converts to this type from the input type.
Source§impl From<Grant> for SchemaElement
impl From<Grant> for SchemaElement
Source§fn from(node: Grant) -> SchemaElement
fn from(node: Grant) -> SchemaElement
Converts to this type from the input type.
Source§impl Hash for SchemaElement
impl Hash for SchemaElement
Source§impl PartialEq for SchemaElement
impl PartialEq for SchemaElement
impl Eq for SchemaElement
impl StructuralPartialEq for SchemaElement
Auto Trait Implementations§
impl Freeze for SchemaElement
impl !RefUnwindSafe for SchemaElement
impl !Send for SchemaElement
impl !Sync for SchemaElement
impl Unpin for SchemaElement
impl !UnwindSafe for SchemaElement
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