pub struct DashboardDetails {
pub name: String,
pub description: Option<String>,
pub share_permissions: Vec<SharePermission>,
}
Expand description
DashboardDetails : Details of a dashboard.
Fields§
§name: String
The name of the dashboard.
description: Option<String>
The description of the dashboard.
The details of any share permissions for the dashboard.
Implementations§
Source§impl DashboardDetails
impl DashboardDetails
Sourcepub fn new(
name: String,
share_permissions: Vec<SharePermission>,
) -> DashboardDetails
pub fn new( name: String, share_permissions: Vec<SharePermission>, ) -> DashboardDetails
Details of a dashboard.
Trait Implementations§
Source§impl Clone for DashboardDetails
impl Clone for DashboardDetails
Source§fn clone(&self) -> DashboardDetails
fn clone(&self) -> DashboardDetails
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 DashboardDetails
impl Debug for DashboardDetails
Source§impl Default for DashboardDetails
impl Default for DashboardDetails
Source§fn default() -> DashboardDetails
fn default() -> DashboardDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DashboardDetails
impl<'de> Deserialize<'de> for DashboardDetails
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
Source§impl PartialEq for DashboardDetails
impl PartialEq for DashboardDetails
Source§impl Serialize for DashboardDetails
impl Serialize for DashboardDetails
impl StructuralPartialEq for DashboardDetails
Auto Trait Implementations§
impl Freeze for DashboardDetails
impl RefUnwindSafe for DashboardDetails
impl Send for DashboardDetails
impl Sync for DashboardDetails
impl Unpin for DashboardDetails
impl UnwindSafe for DashboardDetails
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