pub struct TypeBase {
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
}Expand description
Dialect properties shared by all types
JSON schema
{
"description": "Dialect properties shared by all types",
"type": "object",
"properties": {
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
},
"system_metadata": {
"description": "system specific metadata for the type",
"type": "object",
"$ref": "#/definitions/system_type_metadata"
}
}
}Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>system specific metadata for the type
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeBase
impl<'de> Deserialize<'de> for TypeBase
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeBase, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeBase, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TypeBase
impl Serialize for TypeBase
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 TypeBase
Auto Trait Implementations§
impl Freeze for TypeBase
impl RefUnwindSafe for TypeBase
impl Send for TypeBase
impl Sync for TypeBase
impl Unpin for TypeBase
impl UnsafeUnpin for TypeBase
impl UnwindSafe for TypeBase
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