#[non_exhaustive]pub struct DashboardItem {
pub id: String,
pub caption: String,
pub content: DashboardContent,
}Expand description
A piece of a dashboard.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringWhat it is known by.
caption: StringWhat people see over it.
content: DashboardContentWhat it shows.
Trait Implementations§
Source§impl Clone for DashboardItem
impl Clone for DashboardItem
Source§fn clone(&self) -> DashboardItem
fn clone(&self) -> DashboardItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DashboardItem
impl Debug for DashboardItem
impl Eq for DashboardItem
Source§impl PartialEq for DashboardItem
impl PartialEq for DashboardItem
impl StructuralPartialEq for DashboardItem
Auto Trait Implementations§
impl Freeze for DashboardItem
impl RefUnwindSafe for DashboardItem
impl Send for DashboardItem
impl Sync for DashboardItem
impl Unpin for DashboardItem
impl UnsafeUnpin for DashboardItem
impl UnwindSafe for DashboardItem
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