pub struct CustomProperty {
pub property: String,
pub value: Value,
}Expand description
Custom property for format-specific metadata (ODCS v3.1.0)
Used to store metadata that doesn’t fit into the standard ODCS fields, such as Avro-specific or Protobuf-specific attributes.
Fields§
§property: StringProperty name
value: ValueProperty value (flexible type)
Implementations§
Trait Implementations§
Source§impl Clone for CustomProperty
impl Clone for CustomProperty
Source§fn clone(&self) -> CustomProperty
fn clone(&self) -> CustomProperty
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 CustomProperty
impl Debug for CustomProperty
Source§impl<'de> Deserialize<'de> for CustomProperty
impl<'de> Deserialize<'de> for CustomProperty
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomProperty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CustomProperty, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CustomProperty
impl PartialEq for CustomProperty
Source§impl Serialize for CustomProperty
impl Serialize for CustomProperty
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 CustomProperty
Auto Trait Implementations§
impl Freeze for CustomProperty
impl RefUnwindSafe for CustomProperty
impl Send for CustomProperty
impl Sync for CustomProperty
impl Unpin for CustomProperty
impl UnwindSafe for CustomProperty
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