pub struct ColumnDescriptor {
pub ordinal: u32,
pub name: String,
pub data_type: DataTypeDescriptor,
pub nullable: bool,
pub auto_increment: bool,
pub default_expression: Option<String>,
pub extensions: BTreeMap<String, Value>,
}Fields§
§ordinal: u32§name: String§data_type: DataTypeDescriptor§nullable: bool§auto_increment: bool§default_expression: Option<String>§extensions: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ColumnDescriptor
impl Clone for ColumnDescriptor
Source§fn clone(&self) -> ColumnDescriptor
fn clone(&self) -> ColumnDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnDescriptor
impl Debug for ColumnDescriptor
Source§impl<'de> Deserialize<'de> for ColumnDescriptor
impl<'de> Deserialize<'de> for ColumnDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ColumnDescriptor
Source§impl PartialEq for ColumnDescriptor
impl PartialEq for ColumnDescriptor
Source§impl Serialize for ColumnDescriptor
impl Serialize for ColumnDescriptor
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColumnDescriptor
Auto Trait Implementations§
impl Freeze for ColumnDescriptor
impl RefUnwindSafe for ColumnDescriptor
impl Send for ColumnDescriptor
impl Sync for ColumnDescriptor
impl Unpin for ColumnDescriptor
impl UnsafeUnpin for ColumnDescriptor
impl UnwindSafe for ColumnDescriptor
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