pub struct DashboardLayout {
pub id: String,
pub name: String,
pub description: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub author: String,
pub tags: Vec<String>,
pub is_public: bool,
pub grid_config: GridConfig,
pub widgets: Vec<Widget>,
pub filters: Vec<DashboardFilter>,
}
Expand description
Dashboard layout configuration
Fields§
§id: String
§name: String
§description: Option<String>
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§is_public: bool
§grid_config: GridConfig
§widgets: Vec<Widget>
§filters: Vec<DashboardFilter>
Trait Implementations§
Source§impl Clone for DashboardLayout
impl Clone for DashboardLayout
Source§fn clone(&self) -> DashboardLayout
fn clone(&self) -> DashboardLayout
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 DashboardLayout
impl Debug for DashboardLayout
Source§impl<'de> Deserialize<'de> for DashboardLayout
impl<'de> Deserialize<'de> for DashboardLayout
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 DashboardLayout
impl RefUnwindSafe for DashboardLayout
impl Send for DashboardLayout
impl Sync for DashboardLayout
impl Unpin for DashboardLayout
impl UnwindSafe for DashboardLayout
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