Struct google_chromeuxreport1::api::Bin[][src]

pub struct Bin {
    pub density: Option<f64>,
    pub end: Option<String>,
    pub start: Option<String>,
}

A bin is a discrete portion of data spanning from start to end, or if no end is given, then from start to +inf. A bin's start and end values are given in the value type of the metric it represents. For example, "first contentful paint" is measured in milliseconds and exposed as ints, therefore its metric bins will use int32s for its start and end types. However, "cumulative layout shift" is measured in unitless decimals and is exposed as a decimal encoded as a string, therefore its metric bins will use strings for its value type.

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

Fields

density: Option<f64>

The proportion of users that experienced this bin's value for the given metric.

end: Option<String>

End is the end of the data bin. If end is not populated, then the bin has no end and is valid from start to +inf.

start: Option<String>

Start is the beginning of the data bin.

Trait Implementations

impl Clone for Bin[src]

impl Debug for Bin[src]

impl Default for Bin[src]

impl<'de> Deserialize<'de> for Bin[src]

impl Part for Bin[src]

impl Serialize for Bin[src]

Auto Trait Implementations

impl RefUnwindSafe for Bin[src]

impl Send for Bin[src]

impl Sync for Bin[src]

impl Unpin for Bin[src]

impl UnwindSafe for Bin[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.