pub enum ClickStackBarChartConfig {
ClickStackBarBuilderChartConfig(ClickStackBarBuilderChartConfig),
ClickStackBarRawSqlChartConfig(ClickStackBarRawSqlChartConfig),
Unknown(Value),
}Expand description
ClickStackBarChartConfig - 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§
ClickStackBarBuilderChartConfig(ClickStackBarBuilderChartConfig)
ClickStackBarRawSqlChartConfig(ClickStackBarRawSqlChartConfig)
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 ClickStackBarChartConfig
impl Clone for ClickStackBarChartConfig
Source§fn clone(&self) -> ClickStackBarChartConfig
fn clone(&self) -> ClickStackBarChartConfig
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 ClickStackBarChartConfig
impl Debug for ClickStackBarChartConfig
Source§impl Default for ClickStackBarChartConfig
impl Default for ClickStackBarChartConfig
Source§impl<'de> Deserialize<'de> for ClickStackBarChartConfig
impl<'de> Deserialize<'de> for ClickStackBarChartConfig
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 Display for ClickStackBarChartConfig
impl Display for ClickStackBarChartConfig
Source§impl PartialEq for ClickStackBarChartConfig
impl PartialEq for ClickStackBarChartConfig
Source§impl Serialize for ClickStackBarChartConfig
impl Serialize for ClickStackBarChartConfig
impl StructuralPartialEq for ClickStackBarChartConfig
Auto Trait Implementations§
impl Freeze for ClickStackBarChartConfig
impl RefUnwindSafe for ClickStackBarChartConfig
impl Send for ClickStackBarChartConfig
impl Sync for ClickStackBarChartConfig
impl Unpin for ClickStackBarChartConfig
impl UnsafeUnpin for ClickStackBarChartConfig
impl UnwindSafe for ClickStackBarChartConfig
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