Struct google_servicecontrol1::ExponentialBuckets [−][src]
pub struct ExponentialBuckets { pub scale: Option<f64>, pub growth_factor: Option<f64>, pub num_finite_buckets: Option<i32>, }
Describing buckets with exponentially growing width.
This type is not used in any activity, and only used as part of another schema.
Fields
scale: Option<f64>
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be > 0.
growth_factor: Option<f64>
The i'th exponential bucket covers the interval [scale * growth_factor^(i-1), scale * growth_factor^i) where i ranges from 1 to num_finite_buckets inclusive. Must be larger than 1.0.
num_finite_buckets: Option<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.
Trait Implementations
impl Default for ExponentialBuckets
[src]
impl Default for ExponentialBuckets
fn default() -> ExponentialBuckets
[src]
fn default() -> ExponentialBuckets
Returns the "default value" for a type. Read more
impl Clone for ExponentialBuckets
[src]
impl Clone for ExponentialBuckets
fn clone(&self) -> ExponentialBuckets
[src]
fn clone(&self) -> ExponentialBuckets
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ExponentialBuckets
[src]
impl Debug for ExponentialBuckets
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ExponentialBuckets
[src]
impl Part for ExponentialBuckets
Auto Trait Implementations
impl Send for ExponentialBuckets
impl Send for ExponentialBuckets
impl Sync for ExponentialBuckets
impl Sync for ExponentialBuckets