pub struct DeltaStructField {
pub name: String,
pub data_type: DeltaDataType,
pub nullable: bool,
pub metadata: BTreeMap<String, Value>,
}Expand description
A field in a DeltaStructType: name, type, nullability, and metadata.
Fields§
§name: String§data_type: DeltaDataType§nullable: bool§metadata: BTreeMap<String, Value>Arbitrary column metadata (e.g. comment, delta.columnMapping.id).
Values can be strings, numbers, booleans, or nested objects.
Trait Implementations§
Source§impl Clone for DeltaStructField
impl Clone for DeltaStructField
Source§fn clone(&self) -> DeltaStructField
fn clone(&self) -> DeltaStructField
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 DeltaStructField
impl Debug for DeltaStructField
Source§impl<'de> Deserialize<'de> for DeltaStructField
impl<'de> Deserialize<'de> for DeltaStructField
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
Source§impl PartialEq for DeltaStructField
impl PartialEq for DeltaStructField
Source§fn eq(&self, other: &DeltaStructField) -> bool
fn eq(&self, other: &DeltaStructField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeltaStructField
impl Serialize for DeltaStructField
impl StructuralPartialEq for DeltaStructField
Auto Trait Implementations§
impl Freeze for DeltaStructField
impl RefUnwindSafe for DeltaStructField
impl Send for DeltaStructField
impl Sync for DeltaStructField
impl Unpin for DeltaStructField
impl UnsafeUnpin for DeltaStructField
impl UnwindSafe for DeltaStructField
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