pub struct TypeDecimal {
pub metadata: Map<String, Value>,
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}Expand description
TypeDecimal
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": "DECIMAL"
}
},
"additionalProperties": false
}Fields§
§metadata: Map<String, Value>Arbitrary data created by the dialect author.
system_metadata: Option<SystemTypeMetadata>§type_: ValueImplementations§
Source§impl TypeDecimal
impl TypeDecimal
pub fn builder() -> TypeDecimal
Trait Implementations§
Source§impl Clone for TypeDecimal
impl Clone for TypeDecimal
Source§fn clone(&self) -> TypeDecimal
fn clone(&self) -> TypeDecimal
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 TypeDecimal
impl Debug for TypeDecimal
Source§impl<'de> Deserialize<'de> for TypeDecimal
impl<'de> Deserialize<'de> for TypeDecimal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeDecimal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeDecimal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<TypeDecimal> for DialectSupportedTypesItem
impl From<TypeDecimal> for DialectSupportedTypesItem
Source§fn from(value: TypeDecimal) -> DialectSupportedTypesItem
fn from(value: TypeDecimal) -> DialectSupportedTypesItem
Converts to this type from the input type.
Source§impl From<TypeDecimal> for TypeDecimal
impl From<TypeDecimal> for TypeDecimal
Source§fn from(value: TypeDecimal) -> TypeDecimal
fn from(value: TypeDecimal) -> TypeDecimal
Converts to this type from the input type.
Source§impl PartialEq for TypeDecimal
impl PartialEq for TypeDecimal
Source§impl Serialize for TypeDecimal
impl Serialize for TypeDecimal
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 TypeDecimal
Source§impl TryFrom<TypeDecimal> for TypeDecimal
impl TryFrom<TypeDecimal> for TypeDecimal
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeDecimal) -> Result<TypeDecimal, ConversionError>
fn try_from(value: TypeDecimal) -> Result<TypeDecimal, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TypeDecimal
impl RefUnwindSafe for TypeDecimal
impl Send for TypeDecimal
impl Sync for TypeDecimal
impl Unpin for TypeDecimal
impl UnsafeUnpin for TypeDecimal
impl UnwindSafe for TypeDecimal
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