pub struct MetricSpecification {
pub name: Option<String>,
pub display_name: Option<String>,
pub display_description: Option<String>,
pub unit: Option<String>,
pub aggregation_type: Option<String>,
pub dimensions: Vec<Dimension>,
}Expand description
Description of metrics specification.
Fields§
§name: Option<String>The name of the metric.
display_name: Option<String>The display name of the metric.
display_description: Option<String>The description of the metric.
unit: Option<String>Units the metric to be displayed in.
aggregation_type: Option<String>The aggregation type.
dimensions: Vec<Dimension>List of dimensions.
Implementations§
Trait Implementations§
Source§impl Clone for MetricSpecification
impl Clone for MetricSpecification
Source§fn clone(&self) -> MetricSpecification
fn clone(&self) -> MetricSpecification
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 MetricSpecification
impl Debug for MetricSpecification
Source§impl Default for MetricSpecification
impl Default for MetricSpecification
Source§fn default() -> MetricSpecification
fn default() -> MetricSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricSpecification
impl<'de> Deserialize<'de> for MetricSpecification
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 MetricSpecification
impl PartialEq for MetricSpecification
Source§impl Serialize for MetricSpecification
impl Serialize for MetricSpecification
impl StructuralPartialEq for MetricSpecification
Auto Trait Implementations§
impl Freeze for MetricSpecification
impl RefUnwindSafe for MetricSpecification
impl Send for MetricSpecification
impl Sync for MetricSpecification
impl Unpin for MetricSpecification
impl UnwindSafe for MetricSpecification
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