pub struct ColumnJson {
pub name: String,
pub description: Option<String>,
pub nullable: bool,
pub data_type: String,
pub nominal_type: String,
pub max_length: Option<i32>,
pub default: Option<String>,
pub enum_values: Vec<String>,
pub is_composite: bool,
pub composite_type_schema: Option<String>,
pub composite_type_name: Option<String>,
}Expand description
JSON structure for column data
Fields§
§name: String§description: Option<String>§nullable: bool§data_type: String§nominal_type: String§max_length: Option<i32>§default: Option<String>§enum_values: Vec<String>§is_composite: bool§composite_type_schema: Option<String>§composite_type_name: Option<String>Trait Implementations§
Source§impl Clone for ColumnJson
impl Clone for ColumnJson
Source§fn clone(&self) -> ColumnJson
fn clone(&self) -> ColumnJson
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnJson
impl Debug for ColumnJson
Source§impl<'de> Deserialize<'de> for ColumnJson
impl<'de> Deserialize<'de> for ColumnJson
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 ColumnJson
impl RefUnwindSafe for ColumnJson
impl Send for ColumnJson
impl Sync for ColumnJson
impl Unpin for ColumnJson
impl UnsafeUnpin for ColumnJson
impl UnwindSafe for ColumnJson
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