pub struct Column { /* private fields */ }Expand description
A column of data from a query.
Implementations§
Source§impl Column
impl Column
Sourcepub fn new(name: String, column_type: ColumnType) -> Self
pub fn new(name: String, column_type: ColumnType) -> Self
Construct a new Column.
Sourcepub fn column_type(&self) -> ColumnType
pub fn column_type(&self) -> ColumnType
The type of the column.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Column
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Column
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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