pub enum PanelConfig {
LineChart {
title: String,
data: Vec<PointData>,
width: Option<u32>,
height: Option<u32>,
alert: Option<bool>,
},
BarChart {
title: String,
data: Vec<BarData>,
width: Option<u32>,
height: Option<u32>,
alert: Option<bool>,
},
StatBadge {
title: String,
value: String,
color: Option<String>,
alert: Option<bool>,
},
}Variants§
Trait Implementations§
Source§impl Clone for PanelConfig
impl Clone for PanelConfig
Source§impl Debug for PanelConfig
impl Debug for PanelConfig
Source§impl<'de> Deserialize<'de> for PanelConfig
impl<'de> Deserialize<'de> for PanelConfig
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 PanelConfig
impl RefUnwindSafe for PanelConfig
impl Send for PanelConfig
impl Sync for PanelConfig
impl Unpin for PanelConfig
impl UnsafeUnpin for PanelConfig
impl UnwindSafe for PanelConfig
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