pub struct ExtensionData {
pub schema_version: SchemaVersion,
pub fields: BTreeMap<String, ExtValue>,
}Expand description
Namespaced, typed extension fields attached to a record. Validated against
an crate::extension::ExtensionSchema registered for the namespace.
Fields§
§schema_version: SchemaVersion§fields: BTreeMap<String, ExtValue>Trait Implementations§
Source§impl Clone for ExtensionData
impl Clone for ExtensionData
Source§fn clone(&self) -> ExtensionData
fn clone(&self) -> ExtensionData
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 ExtensionData
impl Debug for ExtensionData
Source§impl<'de> Deserialize<'de> for ExtensionData
impl<'de> Deserialize<'de> for ExtensionData
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 ExtensionData
impl PartialEq for ExtensionData
Source§impl Serialize for ExtensionData
impl Serialize for ExtensionData
impl StructuralPartialEq for ExtensionData
Auto Trait Implementations§
impl Freeze for ExtensionData
impl RefUnwindSafe for ExtensionData
impl Send for ExtensionData
impl Sync for ExtensionData
impl Unpin for ExtensionData
impl UnsafeUnpin for ExtensionData
impl UnwindSafe for ExtensionData
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