pub struct Column {
pub column: ColumnName,
pub ty: FlussoType,
pub nullable: bool,
pub transforms: Vec<Transform>,
pub default: Option<GenericValue>,
}Expand description
A column-backed field: the column to read, its declared type and nullability, the transforms to apply, and a default to coalesce nulls to.
Fields§
§column: ColumnName§ty: FlussoTypeThe declared type — the OpenSearch mapping derives from it, and a live database (when reachable) is checked against it.
nullable: boolWhether the column admits null. The resolver still forces non-null for a
primary key or a column with a default.
transforms: Vec<Transform>§default: Option<GenericValue>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Column
impl<'de> Deserialize<'de> for Column
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