[][src]Struct google_servicecontrol1::MetricValue

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

money_value: Option<Money>

A money value.

labels: Option<HashMap<String, String>>

The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.

double_value: Option<f64>

A double precision floating point value.

bool_value: Option<bool>

A boolean value.

start_time: Option<String>

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.

distribution_value: Option<Distribution>

A distribution value.

string_value: Option<String>

A text string value.

int64_value: Option<String>

A signed 64-bit integer value.

end_time: Option<String>

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

Trait Implementations

impl Clone for MetricValue[src]

impl Debug for MetricValue[src]

impl Default for MetricValue[src]

impl<'de> Deserialize<'de> for MetricValue[src]

impl Part for MetricValue[src]

impl Serialize for MetricValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any