pub enum CurrencyColumnFormat {}
Expand description
CurrencyColumnFormat
JSON schema
{
"description": "Format of a currency column.",
"allOf": [
{
"$ref": "#/components/schemas/SimpleColumnFormat"
},
{
"type": "object",
"properties": {
"currencyCode": {
"description": "The currency symbol",
"examples": [
"$"
],
"type": "string"
},
"format": {
"$ref": "#/components/schemas/CurrencyFormatType"
},
"precision": {
"description": "The decimal precision.",
"examples": [
2
],
"type": "integer",
"maximum": 10.0,
"minimum": 0.0
}
},
"additionalProperties": false
}
],
"x-schema-name": "CurrencyColumnFormat"
}
Trait Implementations§
Source§impl Clone for CurrencyColumnFormat
impl Clone for CurrencyColumnFormat
Source§fn clone(&self) -> CurrencyColumnFormat
fn clone(&self) -> CurrencyColumnFormat
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 CurrencyColumnFormat
impl Debug for CurrencyColumnFormat
Source§impl<'de> Deserialize<'de> for CurrencyColumnFormat
impl<'de> Deserialize<'de> for CurrencyColumnFormat
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<&CurrencyColumnFormat> for CurrencyColumnFormat
impl From<&CurrencyColumnFormat> for CurrencyColumnFormat
Source§fn from(value: &CurrencyColumnFormat) -> Self
fn from(value: &CurrencyColumnFormat) -> Self
Converts to this type from the input type.
Source§impl From<CurrencyColumnFormat> for ColumnFormat
impl From<CurrencyColumnFormat> for ColumnFormat
Source§fn from(value: CurrencyColumnFormat) -> Self
fn from(value: CurrencyColumnFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for CurrencyColumnFormat
impl Hash for CurrencyColumnFormat
Source§impl Ord for CurrencyColumnFormat
impl Ord for CurrencyColumnFormat
Source§fn cmp(&self, other: &CurrencyColumnFormat) -> Ordering
fn cmp(&self, other: &CurrencyColumnFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CurrencyColumnFormat
impl PartialEq for CurrencyColumnFormat
Source§impl PartialOrd for CurrencyColumnFormat
impl PartialOrd for CurrencyColumnFormat
Source§impl Serialize for CurrencyColumnFormat
impl Serialize for CurrencyColumnFormat
impl Copy for CurrencyColumnFormat
impl Eq for CurrencyColumnFormat
impl StructuralPartialEq for CurrencyColumnFormat
Auto Trait Implementations§
impl Freeze for CurrencyColumnFormat
impl RefUnwindSafe for CurrencyColumnFormat
impl Send for CurrencyColumnFormat
impl Sync for CurrencyColumnFormat
impl Unpin for CurrencyColumnFormat
impl UnwindSafe for CurrencyColumnFormat
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