pub struct CreateIndexStmt<'a> { /* private fields */ }Implementations§
Source§impl<'a> CreateIndexStmt<'a>
impl<'a> CreateIndexStmt<'a>
Sourcepub fn node_id(&self) -> CreateIndexStmtId
pub fn node_id(&self) -> CreateIndexStmtId
The typed node ID of this node.
pub fn index_name(&self) -> &'a str
pub fn schema(&self) -> &'a str
pub fn table_name(&self) -> &'a str
pub fn is_unique(&self) -> bool
pub fn if_not_exists(&self) -> bool
pub fn columns(&self) -> Option<OrderByList<'a>>
pub fn where_clause(&self) -> Option<Expr<'a>>
Trait Implementations§
Source§impl<'a> Clone for CreateIndexStmt<'a>
impl<'a> Clone for CreateIndexStmt<'a>
Source§fn clone(&self) -> CreateIndexStmt<'a>
fn clone(&self) -> CreateIndexStmt<'a>
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 CreateIndexStmt<'_>
impl Debug for CreateIndexStmt<'_>
Source§impl Display for CreateIndexStmt<'_>
impl Display for CreateIndexStmt<'_>
Source§impl<'a> From<CreateIndexStmt<'a>> for CreateIndexStmtId
impl<'a> From<CreateIndexStmt<'a>> for CreateIndexStmtId
Source§fn from(n: CreateIndexStmt<'a>) -> Self
fn from(n: CreateIndexStmt<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> GrammarNodeType<'a> for CreateIndexStmt<'a>
impl<'a> GrammarNodeType<'a> for CreateIndexStmt<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for CreateIndexStmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateIndexStmt<'a>
impl<'a> !RefUnwindSafe for CreateIndexStmt<'a>
impl<'a> !Send for CreateIndexStmt<'a>
impl<'a> !Sync for CreateIndexStmt<'a>
impl<'a> Unpin for CreateIndexStmt<'a>
impl<'a> UnsafeUnpin for CreateIndexStmt<'a>
impl<'a> !UnwindSafe for CreateIndexStmt<'a>
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