pub struct Column {
pub name: String,
pub ty: String,
pub nullable: bool,
pub length: Option<i64>,
pub precision: Option<i64>,
pub scale: Option<i64>,
}Expand description
Metadata for one result column, from the query response rowtype.
Fields§
§name: StringColumn name as Snowflake reported it.
ty: StringLowercase Snowflake type tag (e.g. fixed, text, timestamp_ntz).
nullable: boolWhether the column may be null.
length: Option<i64>Declared length (text), when reported.
precision: Option<i64>Declared precision (number), when reported.
scale: Option<i64>Declared scale (number/time/timestamp), when reported.
Implementations§
Trait Implementations§
impl Eq for Column
impl StructuralPartialEq for Column
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.