pub enum ScaleColumnFormat {}
Expand description
ScaleColumnFormat
JSON schema
{
"description": "Format of a numeric column that renders as a scale,
like star ratings.",
"allOf": [
{
"$ref": "#/components/schemas/SimpleColumnFormat"
},
{
"type": "object",
"required": [
"icon",
"maximum"
],
"properties": {
"icon": {
"allOf": [
{
"description": "The icon set to use when rendering the
scale, e.g. render a 5 star scale.",
"additionalProperties": false
},
{
"$ref": "#/components/schemas/IconSet"
}
]
},
"maximum": {
"description": "The maximum number allowed for this scale.",
"examples": [
5
],
"type": "number"
}
},
"additionalProperties": false
}
],
"x-schema-name": "ScaleColumnFormat"
}
Trait Implementations§
Source§impl Clone for ScaleColumnFormat
impl Clone for ScaleColumnFormat
Source§fn clone(&self) -> ScaleColumnFormat
fn clone(&self) -> ScaleColumnFormat
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 ScaleColumnFormat
impl Debug for ScaleColumnFormat
Source§impl<'de> Deserialize<'de> for ScaleColumnFormat
impl<'de> Deserialize<'de> for ScaleColumnFormat
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<&ScaleColumnFormat> for ScaleColumnFormat
impl From<&ScaleColumnFormat> for ScaleColumnFormat
Source§fn from(value: &ScaleColumnFormat) -> Self
fn from(value: &ScaleColumnFormat) -> Self
Converts to this type from the input type.
Source§impl From<ScaleColumnFormat> for ColumnFormat
impl From<ScaleColumnFormat> for ColumnFormat
Source§fn from(value: ScaleColumnFormat) -> Self
fn from(value: ScaleColumnFormat) -> Self
Converts to this type from the input type.
Source§impl Hash for ScaleColumnFormat
impl Hash for ScaleColumnFormat
Source§impl Ord for ScaleColumnFormat
impl Ord for ScaleColumnFormat
Source§fn cmp(&self, other: &ScaleColumnFormat) -> Ordering
fn cmp(&self, other: &ScaleColumnFormat) -> 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 ScaleColumnFormat
impl PartialEq for ScaleColumnFormat
Source§impl PartialOrd for ScaleColumnFormat
impl PartialOrd for ScaleColumnFormat
Source§impl Serialize for ScaleColumnFormat
impl Serialize for ScaleColumnFormat
impl Copy for ScaleColumnFormat
impl Eq for ScaleColumnFormat
impl StructuralPartialEq for ScaleColumnFormat
Auto Trait Implementations§
impl Freeze for ScaleColumnFormat
impl RefUnwindSafe for ScaleColumnFormat
impl Send for ScaleColumnFormat
impl Sync for ScaleColumnFormat
impl Unpin for ScaleColumnFormat
impl UnwindSafe for ScaleColumnFormat
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