Struct google_servicecontrol1::MetricValue[][src]

pub struct MetricValue {
    pub money_value: Option<Money>,
    pub labels: Option<HashMap<String, String>>,
    pub double_value: Option<f64>,
    pub bool_value: Option<bool>,
    pub start_time: Option<String>,
    pub distribution_value: Option<Distribution>,
    pub string_value: Option<String>,
    pub int64_value: Option<String>,
    pub end_time: Option<String>,
}

Represents a single metric value.

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

Fields

A money value.

The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship.

A double precision floating point value.

A boolean value.

The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.

A distribution value.

A text string value.

A signed 64-bit integer value.

The end of the time period over which this metric value's measurement applies.

Trait Implementations

impl Default for MetricValue
[src]

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

impl Clone for MetricValue
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MetricValue
[src]

Formats the value using the given formatter. Read more

impl Part for MetricValue
[src]

Auto Trait Implementations

impl Send for MetricValue

impl Sync for MetricValue