pub struct ColumnMetadata<'stmt> { /* private fields */ }Available on crate feature
column_metadata only.Expand description
Metadata about the origin of a column of a SQLite query
Implementations§
Source§impl ColumnMetadata<'_>
impl ColumnMetadata<'_>
Sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
Returns the database name from which the column originates
Sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
Returns the table name from which the column originates
Sourcepub fn origin_name(&self) -> Option<&str>
pub fn origin_name(&self) -> Option<&str>
Returns the column name from which the column originates
Trait Implementations§
Auto Trait Implementations§
impl<'stmt> Freeze for ColumnMetadata<'stmt>
impl<'stmt> RefUnwindSafe for ColumnMetadata<'stmt>
impl<'stmt> Send for ColumnMetadata<'stmt>
impl<'stmt> Sync for ColumnMetadata<'stmt>
impl<'stmt> Unpin for ColumnMetadata<'stmt>
impl<'stmt> UnsafeUnpin for ColumnMetadata<'stmt>
impl<'stmt> UnwindSafe for ColumnMetadata<'stmt>
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