pub struct DashboardConfig {
pub enabled: bool,
pub title: String,
pub refresh_interval_secs: u64,
pub max_data_points: usize,
pub layout: DashboardLayout,
pub charts: Vec<ChartConfig>,
pub theme: DashboardTheme,
}Expand description
Dashboard configuration
Fields§
§enabled: boolEnable dashboard
title: StringDashboard title
refresh_interval_secs: u64Refresh interval in seconds
max_data_points: usizeMaximum data points to keep in memory
layout: DashboardLayoutDashboard layout configuration
charts: Vec<ChartConfig>Custom chart configurations
theme: DashboardThemeColor theme
Trait Implementations§
Source§impl Clone for DashboardConfig
impl Clone for DashboardConfig
Source§fn clone(&self) -> DashboardConfig
fn clone(&self) -> DashboardConfig
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 DashboardConfig
impl Debug for DashboardConfig
Source§impl Default for DashboardConfig
impl Default for DashboardConfig
Source§impl<'de> Deserialize<'de> for DashboardConfig
impl<'de> Deserialize<'de> for DashboardConfig
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 DashboardConfig
impl RefUnwindSafe for DashboardConfig
impl Send for DashboardConfig
impl Sync for DashboardConfig
impl Unpin for DashboardConfig
impl UnwindSafe for DashboardConfig
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