pub struct ColumnMeta(/* private fields */);
Expand description
Column metadata
Implementations§
Source§impl ColumnMeta
impl ColumnMeta
Sourcepub fn field_iter(&mut self) -> FieldIterator ⓘ
pub fn field_iter(&mut self) -> FieldIterator ⓘ
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 data_type(&self) -> ConstDataType
pub fn data_type(&self) -> ConstDataType
Gets the data type of the column.
Sourcepub fn field_by_name(&self, name: &str) -> Option<Value>
pub fn field_by_name(&self, name: &str) -> Option<Value>
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 Freeze for ColumnMeta
impl RefUnwindSafe for ColumnMeta
impl !Send for ColumnMeta
impl !Sync for ColumnMeta
impl Unpin for ColumnMeta
impl UnwindSafe for ColumnMeta
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