Struct google_logging2::Exponential [−][src]
pub struct Exponential {
pub scale: Option<f64>,
pub growth_factor: Option<f64>,
pub num_finite_buckets: Option<i32>,
}Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a 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): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
This type is not used in any activity, and only used as part of another schema.
Fields
scale: Option<f64>
Must be greater than 0.
growth_factor: Option<f64>
Must be greater than 1.
num_finite_buckets: Option<i32>
Must be greater than 0.
Trait Implementations
impl Default for Exponential[src]
impl Default for Exponentialfn default() -> Exponential[src]
fn default() -> ExponentialReturns the "default value" for a type. Read more
impl Clone for Exponential[src]
impl Clone for Exponentialfn clone(&self) -> Exponential[src]
fn clone(&self) -> ExponentialReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Exponential[src]
impl Debug for Exponentialfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for Exponential[src]
impl Part for ExponentialAuto Trait Implementations
impl Send for Exponential
impl Send for Exponentialimpl Sync for Exponential
impl Sync for Exponential