pub struct TypeDecimal {
pub system_metadata: Option<SystemTypeMetadata>,
pub type_: Value,
}
Expand description
TypeDecimal
JSON schema
{
"type": "object",
"required": [
"type"
],
"properties": {
"system_metadata": {
"$ref": "#/definitions/system_type_metadata"
},
"type": {
"const": "DECIMAL"
}
},
"additionalProperties": false
}
Fields§
§system_metadata: Option<SystemTypeMetadata>
§type_: Value
Implementations§
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 · 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<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<&TypeDecimal> for TypeDecimal
impl From<&TypeDecimal> for TypeDecimal
Source§fn from(value: &TypeDecimal) -> Self
fn from(value: &TypeDecimal) -> Self
Converts to this type from the input type.
Source§impl From<TypeDecimal> for DialectSupportedTypesItem
impl From<TypeDecimal> for DialectSupportedTypesItem
Source§fn from(value: TypeDecimal) -> Self
fn from(value: TypeDecimal) -> Self
Converts to this type from the input type.
Source§impl From<TypeDecimal> for TypeDecimal
impl From<TypeDecimal> for TypeDecimal
Source§fn from(value: TypeDecimal) -> Self
fn from(value: TypeDecimal) -> Self
Converts to this type from the input type.
Source§impl Serialize for TypeDecimal
impl Serialize 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<Self, ConversionError>
fn try_from(value: TypeDecimal) -> Result<Self, 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 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