pub struct Environment {
pub benchmark_index: Option<f64>,
pub credits: Option<HashMap<String, String>>,
pub host_user_agent: Option<String>,
pub network_user_agent: Option<String>,
}Expand description
Message containing environment configuration for a Lighthouse run.
This type is not used in any activity, and only used as part of another schema.
Fields§
§benchmark_index: Option<f64>The benchmark index number that indicates rough device class.
credits: Option<HashMap<String, String>>The version of libraries with which these results were generated. Ex: axe-core.
host_user_agent: Option<String>The user agent string of the version of Chrome used.
network_user_agent: Option<String>The user agent string that was sent over the network.
Trait Implementations§
Source§impl Clone for Environment
impl Clone for Environment
Source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Environment
impl Debug for Environment
Source§impl Default for Environment
impl Default for Environment
Source§fn default() -> Environment
fn default() -> Environment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Environment
impl<'de> Deserialize<'de> for Environment
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
Source§impl Serialize for Environment
impl Serialize for Environment
impl Part for Environment
Auto Trait Implementations§
impl Freeze for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
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