pub struct TypeIntervalYear {
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}
Expand description
TypeIntervalYear
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "INTERVAL_YEAR"
}
},
"additionalProperties": false
}
Fields§
§system_metadata: Option<SystemTypeMetadata>
§type_: Value
Implementations§
Source§impl TypeIntervalYear
impl TypeIntervalYear
pub fn builder() -> TypeIntervalYear
Trait Implementations§
Source§impl Clone for TypeIntervalYear
impl Clone for TypeIntervalYear
Source§fn clone(&self) -> TypeIntervalYear
fn clone(&self) -> TypeIntervalYear
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 TypeIntervalYear
impl Debug for TypeIntervalYear
Source§impl<'de> Deserialize<'de> for TypeIntervalYear
impl<'de> Deserialize<'de> for TypeIntervalYear
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 From<&TypeIntervalYear> for TypeIntervalYear
impl From<&TypeIntervalYear> for TypeIntervalYear
Source§fn from(value: &TypeIntervalYear) -> Self
fn from(value: &TypeIntervalYear) -> Self
Converts to this type from the input type.
Source§impl From<TypeIntervalYear> for DialectSupportedTypesItem
impl From<TypeIntervalYear> for DialectSupportedTypesItem
Source§fn from(value: TypeIntervalYear) -> Self
fn from(value: TypeIntervalYear) -> Self
Converts to this type from the input type.
Source§impl From<TypeIntervalYear> for TypeIntervalYear
impl From<TypeIntervalYear> for TypeIntervalYear
Source§fn from(value: TypeIntervalYear) -> Self
fn from(value: TypeIntervalYear) -> Self
Converts to this type from the input type.
Source§impl Serialize for TypeIntervalYear
impl Serialize for TypeIntervalYear
Source§impl TryFrom<TypeIntervalYear> for TypeIntervalYear
impl TryFrom<TypeIntervalYear> for TypeIntervalYear
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeIntervalYear) -> Result<Self, ConversionError>
fn try_from(value: TypeIntervalYear) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeIntervalYear
impl RefUnwindSafe for TypeIntervalYear
impl Send for TypeIntervalYear
impl Sync for TypeIntervalYear
impl Unpin for TypeIntervalYear
impl UnwindSafe for TypeIntervalYear
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