pub enum NumericColumnFormat {}
Expand description
NumericColumnFormat
JSON schema
{
"description": "Format of a numeric column.",
"allOf": [
{
"$ref": "#/components/schemas/SimpleColumnFormat"
},
{
"type": "object",
"properties": {
"precision": {
"description": "The decimal precision.",
"examples": [
2
],
"type": "integer",
"maximum": 10.0,
"minimum": 0.0
},
"useThousandsSeparator": {
"description": "Whether to use a thousands separator (like
\",\") to format the numeric value.",
"examples": [
true
],
"type": "boolean"
}
},
"additionalProperties": false
}
],
"x-schema-name": "NumericColumnFormat"
}
Trait Implementations§
Source§impl Clone for NumericColumnFormat
impl Clone for NumericColumnFormat
Source§fn clone(&self) -> NumericColumnFormat
fn clone(&self) -> NumericColumnFormat
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 NumericColumnFormat
impl Debug for NumericColumnFormat
Source§impl<'de> Deserialize<'de> for NumericColumnFormat
impl<'de> Deserialize<'de> for NumericColumnFormat
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<&NumericColumnFormat> for NumericColumnFormat
impl From<&NumericColumnFormat> for NumericColumnFormat
Source§fn from(value: &NumericColumnFormat) -> Self
fn from(value: &NumericColumnFormat) -> Self
Converts to this type from the input type.
Source§impl From<NumericColumnFormat> for ColumnFormat
impl From<NumericColumnFormat> for ColumnFormat
Source§fn from(value: NumericColumnFormat) -> Self
fn from(value: NumericColumnFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for NumericColumnFormat
impl Hash for NumericColumnFormat
Source§impl Ord for NumericColumnFormat
impl Ord for NumericColumnFormat
Source§fn cmp(&self, other: &NumericColumnFormat) -> Ordering
fn cmp(&self, other: &NumericColumnFormat) -> 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 NumericColumnFormat
impl PartialEq for NumericColumnFormat
Source§impl PartialOrd for NumericColumnFormat
impl PartialOrd for NumericColumnFormat
Source§impl Serialize for NumericColumnFormat
impl Serialize for NumericColumnFormat
impl Copy for NumericColumnFormat
impl Eq for NumericColumnFormat
impl StructuralPartialEq for NumericColumnFormat
Auto Trait Implementations§
impl Freeze for NumericColumnFormat
impl RefUnwindSafe for NumericColumnFormat
impl Send for NumericColumnFormat
impl Sync for NumericColumnFormat
impl Unpin for NumericColumnFormat
impl UnwindSafe for NumericColumnFormat
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