pub struct ClickStackNumericColorConditionResponse {
pub color: Option<ClickStackChartColor>,
pub label: Option<String>,
pub operator: Option<ClickStackNumericColorConditionOperator>,
pub value: Option<f64>,
}Expand description
ClickStackNumericColorCondition from the ClickHouse Cloud API, in response position.
Response variant of ClickStackNumericColorCondition: every field is Option<T>, so a field
the API drops or sends as null deserializes to None instead of
failing.
Fields§
§color: Option<ClickStackChartColor>§label: Option<String>§operator: Option<ClickStackNumericColorConditionOperator>§value: Option<f64>Trait Implementations§
Source§impl Clone for ClickStackNumericColorConditionResponse
impl Clone for ClickStackNumericColorConditionResponse
Source§fn clone(&self) -> ClickStackNumericColorConditionResponse
fn clone(&self) -> ClickStackNumericColorConditionResponse
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 ClickStackNumericColorConditionResponse
impl Default for ClickStackNumericColorConditionResponse
Source§fn default() -> ClickStackNumericColorConditionResponse
fn default() -> ClickStackNumericColorConditionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackNumericColorConditionResponse
impl<'de> Deserialize<'de> for ClickStackNumericColorConditionResponse
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 ClickStackNumericColorConditionResponse
Auto Trait Implementations§
impl Freeze for ClickStackNumericColorConditionResponse
impl RefUnwindSafe for ClickStackNumericColorConditionResponse
impl Send for ClickStackNumericColorConditionResponse
impl Sync for ClickStackNumericColorConditionResponse
impl Unpin for ClickStackNumericColorConditionResponse
impl UnsafeUnpin for ClickStackNumericColorConditionResponse
impl UnwindSafe for ClickStackNumericColorConditionResponse
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