pub struct DashboardCard {
pub id: i32,
pub card_id: Option<i32>,
pub row: i32,
pub col: i32,
pub size_x: i32,
pub size_y: i32,
pub visualization_settings: Option<Value>,
pub parameter_mappings: Vec<ParameterMapping>,
}
Expand description
Represents a card (visualization) on a dashboard
Fields§
§id: i32
Unique identifier for the dashboard card
card_id: Option<i32>
ID of the card being displayed
row: i32
Position and size on the dashboard grid
col: i32
§size_x: i32
§size_y: i32
§visualization_settings: Option<Value>
Visualization settings override
parameter_mappings: Vec<ParameterMapping>
Parameter mappings
Trait Implementations§
Source§impl Clone for DashboardCard
impl Clone for DashboardCard
Source§fn clone(&self) -> DashboardCard
fn clone(&self) -> DashboardCard
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 DashboardCard
impl Debug for DashboardCard
Source§impl<'de> Deserialize<'de> for DashboardCard
impl<'de> Deserialize<'de> for DashboardCard
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 DashboardCard
impl PartialEq for DashboardCard
Source§impl Serialize for DashboardCard
impl Serialize for DashboardCard
impl StructuralPartialEq for DashboardCard
Auto Trait Implementations§
impl Freeze for DashboardCard
impl RefUnwindSafe for DashboardCard
impl Send for DashboardCard
impl Sync for DashboardCard
impl Unpin for DashboardCard
impl UnwindSafe for DashboardCard
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