pub struct DashboardItemPropertyVisualizationPropertyConfig {
pub plot_type: PlotType,
pub format: Option<Format>,
pub calculation_method: Option<CalculationMethod>,
}
Expand description
DashboardItemPropertyVisualizationPropertyConfig : Configuration options for the given visualization.
Fields§
§plot_type: PlotType
The type of chart to display.
format: Option<Format>
(Optional) The units to use to format the data.
calculation_method: Option<CalculationMethod>
(Optional) The aggregation function to apply to the dataset.
Implementations§
Source§impl DashboardItemPropertyVisualizationPropertyConfig
impl DashboardItemPropertyVisualizationPropertyConfig
Sourcepub fn new(
plot_type: PlotType,
) -> DashboardItemPropertyVisualizationPropertyConfig
pub fn new( plot_type: PlotType, ) -> DashboardItemPropertyVisualizationPropertyConfig
Configuration options for the given visualization.
Trait Implementations§
Source§impl Clone for DashboardItemPropertyVisualizationPropertyConfig
impl Clone for DashboardItemPropertyVisualizationPropertyConfig
Source§fn clone(&self) -> DashboardItemPropertyVisualizationPropertyConfig
fn clone(&self) -> DashboardItemPropertyVisualizationPropertyConfig
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 Default for DashboardItemPropertyVisualizationPropertyConfig
impl Default for DashboardItemPropertyVisualizationPropertyConfig
Source§fn default() -> DashboardItemPropertyVisualizationPropertyConfig
fn default() -> DashboardItemPropertyVisualizationPropertyConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DashboardItemPropertyVisualizationPropertyConfig
impl<'de> Deserialize<'de> for DashboardItemPropertyVisualizationPropertyConfig
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 DashboardItemPropertyVisualizationPropertyConfig
impl PartialEq for DashboardItemPropertyVisualizationPropertyConfig
Source§fn eq(&self, other: &DashboardItemPropertyVisualizationPropertyConfig) -> bool
fn eq(&self, other: &DashboardItemPropertyVisualizationPropertyConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DashboardItemPropertyVisualizationPropertyConfig
Auto Trait Implementations§
impl Freeze for DashboardItemPropertyVisualizationPropertyConfig
impl RefUnwindSafe for DashboardItemPropertyVisualizationPropertyConfig
impl Send for DashboardItemPropertyVisualizationPropertyConfig
impl Sync for DashboardItemPropertyVisualizationPropertyConfig
impl Unpin for DashboardItemPropertyVisualizationPropertyConfig
impl UnwindSafe for DashboardItemPropertyVisualizationPropertyConfig
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