Struct google_chromeuxreport1::api::Record[][src]

pub struct Record {
    pub key: Option<Key>,
    pub metrics: Option<HashMap<String, Metric>>,
}

Record is a single Chrome UX report data record. It contains use experience statistics for a single url pattern and set of dimensions.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

key: Option<Key>

Key defines all of the unique querying parameters needed to look up a user experience record.

metrics: Option<HashMap<String, Metric>>

Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: ["first_contentful_paint", "first_input_delay", "largest_contentful_paint", "cumulative_layout_shift"]

Trait Implementations

impl Clone for Record[src]

impl Debug for Record[src]

impl Default for Record[src]

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

impl Resource for Record[src]

impl Serialize for Record[src]

Auto Trait Implementations

impl RefUnwindSafe for Record[src]

impl Send for Record[src]

impl Sync for Record[src]

impl Unpin for Record[src]

impl UnwindSafe for Record[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.