pub struct ColumnMeta<'a>(/* private fields */);
Expand description
Column metadata
Implementations§
Source§impl<'a> ColumnMeta<'a>
impl<'a> ColumnMeta<'a>
Sourcepub fn field_iter(&self) -> FieldIterator<'a>
pub fn field_iter(&self) -> FieldIterator<'a>
returns an iterator over the fields of this column
Sourcepub fn get_type(&self) -> _CassColumnType
pub fn get_type(&self) -> _CassColumnType
Gets the type of the column.
Sourcepub fn field_by_name(&self, name: &str) -> Option<Value<'a>>
pub fn field_by_name(&self, name: &str) -> Option<Value<'a>>
Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “columns” metadata table.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ColumnMeta<'a>
impl<'a> RefUnwindSafe for ColumnMeta<'a>
impl<'a> !Send for ColumnMeta<'a>
impl<'a> !Sync for ColumnMeta<'a>
impl<'a> Unpin for ColumnMeta<'a>
impl<'a> UnwindSafe for ColumnMeta<'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