Struct google_monitoring3::Metric[][src]

pub struct Metric {
    pub labels: Option<HashMap<String, String>>,
    pub type_: Option<String>,
}

A specific metric, identified by specifying values for all of the labels of a MetricDescriptor.

This type is not used in any activity, and only used as part of another schema.

Fields

The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.

An existing metric type, see google.api.MetricDescriptor. For example, custom.googleapis.com/invoice/paid/amount.

Trait Implementations

impl Default for Metric
[src]

Returns the "default value" for a type. Read more

impl Clone for Metric
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Metric
[src]

Formats the value using the given formatter. Read more

impl Part for Metric
[src]

Auto Trait Implementations

impl Send for Metric

impl Sync for Metric