#[non_exhaustive]pub struct ResultColumn {
pub name: String,
pub cql_type: CqlType,
pub nullable: bool,
}Expand description
One column of a result row.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringAlias if given, otherwise the column name. [json] for SELECT JSON.
cql_type: CqlTypeThe column type.
nullable: boolWhether the database cell may be absent.
Trait Implementations§
Source§impl Clone for ResultColumn
impl Clone for ResultColumn
Source§impl Debug for ResultColumn
impl Debug for ResultColumn
Source§impl PartialEq for ResultColumn
impl PartialEq for ResultColumn
impl StructuralPartialEq for ResultColumn
Auto Trait Implementations§
impl Freeze for ResultColumn
impl RefUnwindSafe for ResultColumn
impl Send for ResultColumn
impl Sync for ResultColumn
impl Unpin for ResultColumn
impl UnsafeUnpin for ResultColumn
impl UnwindSafe for ResultColumn
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