pub enum ClickStackNumberChartConfig {
ClickStackNumberBuilderChartConfig(ClickStackNumberBuilderChartConfig),
ClickStackNumberRawSqlChartConfig(ClickStackNumberRawSqlChartConfig),
Unknown(Value),
}Expand description
ClickStackNumberChartConfig - one of multiple variants.
Dispatched on the configType field (absent or non-string dispatches to the
builder variant, unless the payload carries a raw-SQL-only key); see the
discriminated_union! invocation below for the wire values.
Variants§
ClickStackNumberBuilderChartConfig(ClickStackNumberBuilderChartConfig)
ClickStackNumberRawSqlChartConfig(ClickStackNumberRawSqlChartConfig)
Unknown(Value)
Catch-all for unknown or newly-added values.
Holds the raw payload as serde_json::Value so it round-trips
losslessly; its Display emits the payload as compact JSON.
Trait Implementations§
Source§impl Clone for ClickStackNumberChartConfig
impl Clone for ClickStackNumberChartConfig
Source§fn clone(&self) -> ClickStackNumberChartConfig
fn clone(&self) -> ClickStackNumberChartConfig
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 Debug for ClickStackNumberChartConfig
impl Debug for ClickStackNumberChartConfig
Source§impl<'de> Deserialize<'de> for ClickStackNumberChartConfig
impl<'de> Deserialize<'de> for ClickStackNumberChartConfig
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 ClickStackNumberChartConfig
Auto Trait Implementations§
impl Freeze for ClickStackNumberChartConfig
impl RefUnwindSafe for ClickStackNumberChartConfig
impl Send for ClickStackNumberChartConfig
impl Sync for ClickStackNumberChartConfig
impl Unpin for ClickStackNumberChartConfig
impl UnsafeUnpin for ClickStackNumberChartConfig
impl UnwindSafe for ClickStackNumberChartConfig
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