Struct gapi_grpc::google::api::distribution::bucket_options::Exponential[][src]

pub struct Exponential {
    pub num_finite_buckets: i32,
    pub growth_factor: f64,
    pub scale: f64,
}

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)).

Fields

num_finite_buckets: i32

Must be greater than 0.

growth_factor: f64

Must be greater than 1.

scale: f64

Must be greater than 0.

Trait Implementations

impl Clone for Exponential[src]

impl Debug for Exponential[src]

impl Default for Exponential[src]

impl Message for Exponential[src]

impl PartialEq<Exponential> for Exponential[src]

impl StructuralPartialEq for Exponential[src]

Auto Trait Implementations

impl RefUnwindSafe for Exponential

impl Send for Exponential

impl Sync for Exponential

impl Unpin for Exponential

impl UnwindSafe for Exponential

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]