pub struct ColumnDef<'a> { /* private fields */ }Implementations§
Source§impl<'a> ColumnDef<'a>
impl<'a> ColumnDef<'a>
Sourcepub fn node_id(&self) -> ColumnDefId
pub fn node_id(&self) -> ColumnDefId
The typed node ID of this node.
pub fn column_name(&self) -> Option<Name<'a>>
pub fn type_name(&self) -> &'a str
pub fn constraints(&self) -> Option<ColumnConstraintList<'a>>
Trait Implementations§
Source§impl<'a> From<ColumnDef<'a>> for ColumnDefId
impl<'a> From<ColumnDef<'a>> for ColumnDefId
Source§impl<'a> GrammarNodeType<'a> for ColumnDef<'a>
impl<'a> GrammarNodeType<'a> for ColumnDef<'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 ColumnDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ColumnDef<'a>
impl<'a> !RefUnwindSafe for ColumnDef<'a>
impl<'a> !Send for ColumnDef<'a>
impl<'a> !Sync for ColumnDef<'a>
impl<'a> Unpin for ColumnDef<'a>
impl<'a> UnsafeUnpin for ColumnDef<'a>
impl<'a> !UnwindSafe for ColumnDef<'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