pub struct ChartConfig {
    pub id: String,
    pub title: String,
    pub chart_type: ChartType,
    pub data_sources: Vec<DataSource>,
    pub styling: ChartStyling,
    pub options: ChartOptions,
}Expand description
Chart configuration
Fields§
§id: StringUnique chart ID
title: StringChart title
chart_type: ChartTypeChart type
data_sources: Vec<DataSource>Data sources
styling: ChartStylingChart styling options
options: ChartOptionsChart-specific options
Trait Implementations§
Source§impl Clone for ChartConfig
 
impl Clone for ChartConfig
Source§fn clone(&self) -> ChartConfig
 
fn clone(&self) -> ChartConfig
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 ChartConfig
 
impl Debug for ChartConfig
Source§impl<'de> Deserialize<'de> for ChartConfig
 
impl<'de> Deserialize<'de> for ChartConfig
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
Auto Trait Implementations§
impl Freeze for ChartConfig
impl RefUnwindSafe for ChartConfig
impl Send for ChartConfig
impl Sync for ChartConfig
impl Unpin for ChartConfig
impl UnwindSafe for ChartConfig
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