Struct gapi_grpc::google::api::servicecontrol::v1::distribution::ExplicitBuckets[][src]

pub struct ExplicitBuckets {
    pub bounds: Vec<f64>,
}

Describing buckets with arbitrary user-provided width.

Fields

bounds: Vec<f64>

‘bound’ is a list of strictly increasing boundaries between buckets. Note that a list of length N-1 defines N buckets because of fenceposting. See comments on bucket_options for details.

The i’th finite bucket covers the interval [bound[i-1], bound[i]) where i ranges from 1 to bound_size() - 1. Note that there are no finite buckets at all if ‘bound’ only contains a single element; in that special case the single bound defines the boundary between the underflow and overflow buckets.

bucket number lower bound upper bound i == 0 (underflow) -inf bound[i] 0 < i < bound_size() bound[i-1] bound[i] i == bound_size() (overflow) bound[i-1] +inf

Trait Implementations

impl Clone for ExplicitBuckets[src]

impl Debug for ExplicitBuckets[src]

impl Default for ExplicitBuckets[src]

impl Message for ExplicitBuckets[src]

impl PartialEq<ExplicitBuckets> for ExplicitBuckets[src]

impl StructuralPartialEq for ExplicitBuckets[src]

Auto Trait Implementations

impl RefUnwindSafe for ExplicitBuckets

impl Send for ExplicitBuckets

impl Sync for ExplicitBuckets

impl Unpin for ExplicitBuckets

impl UnwindSafe for ExplicitBuckets

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]