pub struct Column {
pub value: SqlType,
pub raw_type: u32,
pub name: Arc<str>,
}Fields§
§value: SqlType§raw_type: u32§name: Arc<str>Column name/alias. Arc<str> so the driver can clone it into every row
with just a refcount bump — the name is constant across a result set, and
cloning a String per column per row was the dominant decode allocation.
Implementations§
Trait Implementations§
Source§impl ColumnToVal<NaiveDateTime> for Column
impl ColumnToVal<NaiveDateTime> for Column
Source§impl<T> ColumnToVal<Option<T>> for Columnwhere
Column: ColumnToVal<T>,
Implements for all nullable variants
impl<T> ColumnToVal<Option<T>> for Columnwhere
Column: ColumnToVal<T>,
Implements for all nullable variants
Auto Trait Implementations§
impl Freeze for Column
impl RefUnwindSafe for Column
impl Send for Column
impl Sync for Column
impl Unpin for Column
impl UnsafeUnpin 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