Struct google_chromeuxreport1::api::Record
source · pub struct Record {
pub collection_period: Option<CollectionPeriod>,
pub key: Option<Key>,
pub metrics: Option<HashMap<String, Metric>>,
}
Expand description
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).
- query history record records (none)
- query record records (none)
Fields§
§collection_period: Option<CollectionPeriod>
The collection period indicates when the data reflected in this record was collected.
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”, “experimental_time_to_first_byte”, “experimental_interaction_to_next_paint”]