pub struct ClickStackNumberFormatResponse {
pub average: Option<bool>,
pub currency_symbol: Option<String>,
pub decimal_bytes: Option<bool>,
pub factor: Option<f64>,
pub mantissa: Option<i64>,
pub numeric_unit: Option<ClickStackNumberFormatNumericunit>,
pub output: Option<ClickStackNumberFormatOutput>,
pub thousand_separated: Option<bool>,
pub unit: Option<String>,
}Expand description
ClickStackNumberFormat from the ClickHouse Cloud API, in response position.
Response variant of ClickStackNumberFormat: every field is Option<T>, so a field
the API drops or sends as null deserializes to None instead of
failing.
Fields§
§average: Option<bool>§currency_symbol: Option<String>§decimal_bytes: Option<bool>§factor: Option<f64>§mantissa: Option<i64>§numeric_unit: Option<ClickStackNumberFormatNumericunit>§output: Option<ClickStackNumberFormatOutput>§thousand_separated: Option<bool>§unit: Option<String>Trait Implementations§
Source§impl Clone for ClickStackNumberFormatResponse
impl Clone for ClickStackNumberFormatResponse
Source§fn clone(&self) -> ClickStackNumberFormatResponse
fn clone(&self) -> ClickStackNumberFormatResponse
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 Default for ClickStackNumberFormatResponse
impl Default for ClickStackNumberFormatResponse
Source§fn default() -> ClickStackNumberFormatResponse
fn default() -> ClickStackNumberFormatResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackNumberFormatResponse
impl<'de> Deserialize<'de> for ClickStackNumberFormatResponse
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
impl StructuralPartialEq for ClickStackNumberFormatResponse
Auto Trait Implementations§
impl Freeze for ClickStackNumberFormatResponse
impl RefUnwindSafe for ClickStackNumberFormatResponse
impl Send for ClickStackNumberFormatResponse
impl Sync for ClickStackNumberFormatResponse
impl Unpin for ClickStackNumberFormatResponse
impl UnsafeUnpin for ClickStackNumberFormatResponse
impl UnwindSafe for ClickStackNumberFormatResponse
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