Struct Column
pub struct Column { /* private fields */ }Expand description
A column of data from a query.
Implementations§
§impl Column
impl Column
pub fn new(index: usize, name: String, column_type: ColumnType) -> Self
pub fn new(index: usize, name: String, column_type: ColumnType) -> Self
Construct a new Column.
pub fn column_type(&self) -> ColumnType
pub fn column_type(&self) -> ColumnType
The type of the column.
pub fn column_type_(&self) -> &ColumnType
pub fn column_type_(&self) -> &ColumnType
The type of the column as reference.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnwindSafe for Column
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