Struct google_servicecontrol1::LinearBuckets[][src]

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

Describing buckets with constant width.

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

Fields

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.

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.

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 Default for LinearBuckets
[src]

Returns the "default value" for a type. Read more

impl Clone for LinearBuckets
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LinearBuckets
[src]

Formats the value using the given formatter. Read more

impl Part for LinearBuckets
[src]

Auto Trait Implementations