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 labels that uniquely identify a metric. To specify a metric, all labels enumerated in the MetricDescriptor must be assigned values.

An existing metric type, see google.api.MetricDescriptor. For example, compute.googleapis.com/instance/cpu/usage_time.

Trait Implementations

impl Debug for Metric
[src]

Formats the value using the given formatter.

impl Clone for Metric
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Metric
[src]

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

impl Part for Metric
[src]