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
labels: Option<HashMap<String, String>>
The set of labels that uniquely identify a metric. To specify a metric, all labels enumerated in the MetricDescriptor
must be assigned values.
type_: Option<String>
An existing metric type, see google.api.MetricDescriptor. For example, compute.googleapis.com/instance/cpu/usage_time
.
Trait Implementations
impl Debug for Metric
[src]
impl Clone for Metric
[src]
fn clone(&self) -> Metric
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more