pub struct Dashboard {Show 13 fields
pub id: String,
pub title: String,
pub description: Option<String>,
pub url: Option<String>,
pub author_handle: Option<String>,
pub created_at: Option<String>,
pub modified_at: Option<String>,
pub layout_type: Option<String>,
pub is_read_only: Option<bool>,
pub reflow_type: Option<String>,
pub notify_list: Option<Value>,
pub template_variables: Option<Value>,
pub widgets: Option<Value>,
}Expand description
A Datadog dashboard returned by GET /api/v1/dashboard/{id}.
widgets is preserved as a raw serde_json::Value because the per-
widget schemas are deeply heterogeneous (timeseries, query value,
note, group, log stream, …) — modelling each variant would explode
the type surface for no CLI gain. This mirrors how the Atlassian
integration treats ADF documents.
Fields§
§id: StringDatadog dashboard identifier.
title: StringHuman-readable title.
description: Option<String>Optional dashboard description.
url: Option<String>Web UI URL relative to the Datadog site.
Login of the dashboard’s author.
created_at: Option<String>ISO 8601 creation timestamp.
modified_at: Option<String>ISO 8601 last-modified timestamp.
layout_type: Option<String>Layout type as reported by Datadog (ordered or free).
is_read_only: Option<bool>Whether the dashboard cannot be edited via the UI.
reflow_type: Option<String>Reflow type for ordered dashboards (auto or fixed).
notify_list: Option<Value>Notification list for the dashboard (raw value).
template_variables: Option<Value>Template variables (raw value — schemas vary by variable type).
widgets: Option<Value>Widget definitions. Preserved as raw JSON; see type docs.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dashboard
impl<'de> Deserialize<'de> for Dashboard
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>,
impl Eq for Dashboard
impl StructuralPartialEq for Dashboard
Auto Trait Implementations§
impl Freeze for Dashboard
impl RefUnwindSafe for Dashboard
impl Send for Dashboard
impl Sync for Dashboard
impl Unpin for Dashboard
impl UnsafeUnpin for Dashboard
impl UnwindSafe for Dashboard
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.