[][src]Struct google_monitoring3::DistributionCut

pub struct DistributionCut {
    pub range: Option<GoogleMonitoringV3Range>,
    pub distribution_filter: Option<String>,
}

A DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the count of values x in the Distribution such that range.min <= x < range.max.

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

Fields

range: Option<GoogleMonitoringV3Range>

Range of values considered "good." For a one-sided range, set one bound to an infinite value.

distribution_filter: Option<String>

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

Trait Implementations

impl Clone for DistributionCut[src]

impl Debug for DistributionCut[src]

impl Default for DistributionCut[src]

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

impl Part for DistributionCut[src]

impl Serialize for DistributionCut[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