Struct google_logging2::Linear[][src]

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

Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).

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

Fields

Must be greater than 0.

Must be greater than 0.

Lower bound of the first bucket.

Trait Implementations

impl Default for Linear
[src]

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

impl Clone for Linear
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Linear
[src]

Formats the value using the given formatter. Read more

impl Part for Linear
[src]

Auto Trait Implementations

impl Send for Linear

impl Sync for Linear