pub struct DashboardItemPropertyDataSourcePropertyConfig {
pub metrics: Vec<String>,
}
Expand description
DashboardItemPropertyDataSourcePropertyConfig : Configuration options for the selected data source.
Fields§
§metrics: Vec<String>
The metrics to visualize. Valid options are defined by the selected data source.
Implementations§
Source§impl DashboardItemPropertyDataSourcePropertyConfig
impl DashboardItemPropertyDataSourcePropertyConfig
Sourcepub fn new(
metrics: Vec<String>,
) -> DashboardItemPropertyDataSourcePropertyConfig
pub fn new( metrics: Vec<String>, ) -> DashboardItemPropertyDataSourcePropertyConfig
Configuration options for the selected data source.
Trait Implementations§
Source§impl Clone for DashboardItemPropertyDataSourcePropertyConfig
impl Clone for DashboardItemPropertyDataSourcePropertyConfig
Source§fn clone(&self) -> DashboardItemPropertyDataSourcePropertyConfig
fn clone(&self) -> DashboardItemPropertyDataSourcePropertyConfig
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 DashboardItemPropertyDataSourcePropertyConfig
impl Default for DashboardItemPropertyDataSourcePropertyConfig
Source§fn default() -> DashboardItemPropertyDataSourcePropertyConfig
fn default() -> DashboardItemPropertyDataSourcePropertyConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DashboardItemPropertyDataSourcePropertyConfig
impl<'de> Deserialize<'de> for DashboardItemPropertyDataSourcePropertyConfig
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 DashboardItemPropertyDataSourcePropertyConfig
impl PartialEq for DashboardItemPropertyDataSourcePropertyConfig
Source§fn eq(&self, other: &DashboardItemPropertyDataSourcePropertyConfig) -> bool
fn eq(&self, other: &DashboardItemPropertyDataSourcePropertyConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DashboardItemPropertyDataSourcePropertyConfig
Auto Trait Implementations§
impl Freeze for DashboardItemPropertyDataSourcePropertyConfig
impl RefUnwindSafe for DashboardItemPropertyDataSourcePropertyConfig
impl Send for DashboardItemPropertyDataSourcePropertyConfig
impl Sync for DashboardItemPropertyDataSourcePropertyConfig
impl Unpin for DashboardItemPropertyDataSourcePropertyConfig
impl UnwindSafe for DashboardItemPropertyDataSourcePropertyConfig
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