Struct google_logging2_beta1::api::Explicit
source · pub struct Explicit {
pub bounds: Option<Vec<f64>>,
}
Expand description
Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bounds: Option<Vec<f64>>
The values must be monotonically increasing.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Explicit
impl<'de> Deserialize<'de> for Explicit
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Explicit
Auto Trait Implementations§
impl RefUnwindSafe for Explicit
impl Send for Explicit
impl Sync for Explicit
impl Unpin for Explicit
impl UnwindSafe for Explicit
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more