pub struct Dashboard {
pub id: String,
pub title: String,
pub description: String,
pub category: String,
pub layout: LayoutType,
pub widgets: Vec<Widget>,
pub generated_at: SystemTime,
pub auto_refresh: bool,
}Expand description
Generated dashboard
Fields§
§id: StringDashboard identifier
title: StringDashboard title
description: StringDashboard description
category: StringDashboard category
layout: LayoutTypeLayout configuration
widgets: Vec<Widget>Widgets
generated_at: SystemTimeGeneration timestamp
auto_refresh: boolAuto-refresh enabled
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dashboard
impl<'de> Deserialize<'de> for Dashboard
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 Dashboard
impl RefUnwindSafe for Dashboard
impl Send for Dashboard
impl Sync for Dashboard
impl Unpin for Dashboard
impl UnwindSafe for Dashboard
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