pub struct DashboardDefinition {
pub id: String,
pub title: String,
pub description: String,
pub category: String,
pub layout: LayoutType,
pub auto_refresh: bool,
pub widgets: Vec<WidgetDefinition>,
}Expand description
Dashboard definition
Fields§
§id: StringUnique dashboard identifier
title: StringDashboard title
description: StringDashboard description
category: StringDashboard category
layout: LayoutTypeLayout configuration
auto_refresh: boolAuto-refresh enabled
widgets: Vec<WidgetDefinition>Widget definitions
Trait Implementations§
Source§impl Clone for DashboardDefinition
impl Clone for DashboardDefinition
Source§fn clone(&self) -> DashboardDefinition
fn clone(&self) -> DashboardDefinition
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 DashboardDefinition
impl Debug for DashboardDefinition
Source§impl<'de> Deserialize<'de> for DashboardDefinition
impl<'de> Deserialize<'de> for DashboardDefinition
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 DashboardDefinition
impl RefUnwindSafe for DashboardDefinition
impl Send for DashboardDefinition
impl Sync for DashboardDefinition
impl Unpin for DashboardDefinition
impl UnwindSafe for DashboardDefinition
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