pub struct Dashboard {Show 14 fields
pub id: Option<DashboardId>,
pub name: String,
pub description: Option<String>,
pub collection_id: Option<i32>,
pub creator_id: Option<UserId>,
pub parameters: Vec<DashboardParameter>,
pub cards: Vec<DashboardCard>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived: Option<bool>,
pub cache_ttl: Option<i32>,
pub collection_position: Option<i32>,
pub enable_embedding: bool,
pub embedding_params: Value,
}
Expand description
Represents a Metabase dashboard
Fields§
§id: Option<DashboardId>
Unique identifier for the dashboard
name: String
Dashboard name
description: Option<String>
Optional description
collection_id: Option<i32>
ID of the collection this dashboard belongs to
creator_id: Option<UserId>
Creator of the dashboard
parameters: Vec<DashboardParameter>
Dashboard parameters for filtering
cards: Vec<DashboardCard>
Cards (visualizations) on the dashboard
created_at: Option<DateTime<Utc>>
When the dashboard was created
updated_at: Option<DateTime<Utc>>
When the dashboard was last updated
archived: Option<bool>
Whether the dashboard is archived
cache_ttl: Option<i32>
Cache time-to-live in seconds
collection_position: Option<i32>
Position in the collection
enable_embedding: bool
Whether embedding is enabled
embedding_params: Value
Embedding parameters
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>,
Deserialize this value from the given Serde deserializer. Read more
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 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
Mutably borrows from an owned value. Read more