pub struct TypeTime {
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypeTime
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": "TIME"
}
},
"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 TypeTime
impl<'de> Deserialize<'de> for TypeTime
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeTime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeTime, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypeTime> for DialectSupportedTypesItem
impl From<TypeTime> for DialectSupportedTypesItem
Source§fn from(value: TypeTime) -> DialectSupportedTypesItem
fn from(value: TypeTime) -> DialectSupportedTypesItem
Converts to this type from the input type.
Source§impl Serialize for TypeTime
impl Serialize for TypeTime
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 TypeTime
Auto Trait Implementations§
impl Freeze for TypeTime
impl RefUnwindSafe for TypeTime
impl Send for TypeTime
impl Sync for TypeTime
impl Unpin for TypeTime
impl UnsafeUnpin for TypeTime
impl UnwindSafe for TypeTime
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