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

pub struct LinearBuckets {
    pub num_finite_buckets: i32,
    pub width: f64,
    pub offset: f64,
}

Describing buckets with constant width.

Fields

num_finite_buckets: i32

The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is num_finite_buckets + 2. See comments on bucket_options for details.

width: f64

The i’th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive.

offset: f64

The i’th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive.

Trait Implementations

impl Clone for LinearBuckets[src]

impl Debug for LinearBuckets[src]

impl Default for LinearBuckets[src]

impl Message for LinearBuckets[src]

impl PartialEq<LinearBuckets> for LinearBuckets[src]

impl StructuralPartialEq for LinearBuckets[src]

Auto Trait Implementations

impl RefUnwindSafe for LinearBuckets

impl Send for LinearBuckets

impl Sync for LinearBuckets

impl Unpin for LinearBuckets

impl UnwindSafe for LinearBuckets

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]