pub struct DashboardSpec {
pub id: String,
pub data: Map<String, Value>,
}Expand description
The portable, author-controlled dashboard representation.
data is an ordered, open JSON map so new public API fields survive a
portable artifact round trip.
Fields§
§id: String§data: Map<String, Value>Trait Implementations§
Source§impl Clone for DashboardSpec
impl Clone for DashboardSpec
Source§fn clone(&self) -> DashboardSpec
fn clone(&self) -> DashboardSpec
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 DashboardSpec
impl Debug for DashboardSpec
Source§impl<'de> Deserialize<'de> for DashboardSpec
impl<'de> Deserialize<'de> for DashboardSpec
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 DashboardSpec
impl PartialEq for DashboardSpec
Source§impl Serialize for DashboardSpec
impl Serialize for DashboardSpec
impl StructuralPartialEq for DashboardSpec
Auto Trait Implementations§
impl Freeze for DashboardSpec
impl RefUnwindSafe for DashboardSpec
impl Send for DashboardSpec
impl Sync for DashboardSpec
impl Unpin for DashboardSpec
impl UnsafeUnpin for DashboardSpec
impl UnwindSafe for DashboardSpec
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