Struct gapi_grpc::google::api::servicecontrol::v1::MetricValue[][src]

pub struct MetricValue {
    pub labels: HashMap<String, String>,
    pub start_time: Option<Timestamp>,
    pub end_time: Option<Timestamp>,
    pub value: Option<Value>,
}

Represents a single metric value.

Fields

labels: HashMap<String, String>

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

start_time: Option<Timestamp>

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.

end_time: Option<Timestamp>

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

value: Option<Value>

The value. The type of value used in the request must agree with the metric definition in the service configuration, otherwise the MetricValue is rejected.

Trait Implementations

impl Clone for MetricValue[src]

impl Debug for MetricValue[src]

impl Default for MetricValue[src]

impl Message for MetricValue[src]

impl PartialEq<MetricValue> for MetricValue[src]

impl StructuralPartialEq for MetricValue[src]

Auto Trait Implementations

impl RefUnwindSafe for MetricValue

impl Send for MetricValue

impl Sync for MetricValue

impl Unpin for MetricValue

impl UnwindSafe for MetricValue

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]