pub struct TypeDate {
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypeDate
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"metadata": {
"description": "Arbitrary data created by the dialect author.",
"type": "object"
},
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "DATE"
}
},
"additionalProperties": false
}Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>§type_: ValueImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeDate
impl<'de> Deserialize<'de> for TypeDate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeDate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeDate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypeDate> for DialectSupportedTypesItem
impl From<TypeDate> for DialectSupportedTypesItem
Source§fn from(value: TypeDate) -> DialectSupportedTypesItem
fn from(value: TypeDate) -> DialectSupportedTypesItem
Converts to this type from the input type.
Source§impl Serialize for TypeDate
impl Serialize for TypeDate
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 TypeDate
Auto Trait Implementations§
impl Freeze for TypeDate
impl RefUnwindSafe for TypeDate
impl Send for TypeDate
impl Sync for TypeDate
impl Unpin for TypeDate
impl UnsafeUnpin for TypeDate
impl UnwindSafe for TypeDate
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