#[non_exhaustive]pub enum DashboardContent {
View(String),
Control(String),
}Expand description
What a piece of a dashboard shows.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
View(String)
A view of the model, by its id.
Control(String)
A control the application registered, by its name.
Trait Implementations§
Source§impl Clone for DashboardContent
impl Clone for DashboardContent
Source§fn clone(&self) -> DashboardContent
fn clone(&self) -> DashboardContent
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 DashboardContent
impl Debug for DashboardContent
impl Eq for DashboardContent
Source§impl PartialEq for DashboardContent
impl PartialEq for DashboardContent
impl StructuralPartialEq for DashboardContent
Auto Trait Implementations§
impl Freeze for DashboardContent
impl RefUnwindSafe for DashboardContent
impl Send for DashboardContent
impl Sync for DashboardContent
impl Unpin for DashboardContent
impl UnsafeUnpin for DashboardContent
impl UnwindSafe for DashboardContent
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