pub struct PanelConfig {
pub enabled: bool,
pub histogram: HistogramStyle,
pub show_temperature: bool,
pub show_frequency: bool,
pub sparkline_history: u32,
}Expand description
Generic panel configuration.
Fields§
§enabled: boolWhether the panel is enabled.
histogram: HistogramStyleHistogram style.
show_temperature: boolShow temperature.
show_frequency: boolShow frequency.
sparkline_history: u32Sparkline history in seconds.
Trait Implementations§
Source§impl Clone for PanelConfig
impl Clone for PanelConfig
Source§fn clone(&self) -> PanelConfig
fn clone(&self) -> PanelConfig
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 PanelConfig
impl Debug for PanelConfig
Source§impl Default for PanelConfig
impl Default 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