pub struct ConfigSettings {
pub channel: Option<String>,
pub emulated_form_factor: Option<String>,
pub form_factor: Option<String>,
pub locale: Option<String>,
pub only_categories: Option<Value>,
}Expand description
Message containing the configuration settings for the Lighthouse run.
This type is not used in any activity, and only used as part of another schema.
Fields§
§channel: Option<String>How Lighthouse was run, e.g. from the Chrome extension or from the npm module.
emulated_form_factor: Option<String>The form factor the emulation should use. This field is deprecated, form_factor should be used instead.
form_factor: Option<String>How Lighthouse should interpret this run in regards to scoring performance metrics and skipping mobile-only tests in desktop.
locale: Option<String>The locale setting.
only_categories: Option<Value>List of categories of audits the run should conduct.
Trait Implementations§
Source§impl Clone for ConfigSettings
impl Clone for ConfigSettings
Source§fn clone(&self) -> ConfigSettings
fn clone(&self) -> ConfigSettings
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 ConfigSettings
impl Debug for ConfigSettings
Source§impl Default for ConfigSettings
impl Default for ConfigSettings
Source§fn default() -> ConfigSettings
fn default() -> ConfigSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigSettings
impl<'de> Deserialize<'de> for ConfigSettings
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 ConfigSettings
impl Serialize for ConfigSettings
impl Part for ConfigSettings
Auto Trait Implementations§
impl Freeze for ConfigSettings
impl RefUnwindSafe for ConfigSettings
impl Send for ConfigSettings
impl Sync for ConfigSettings
impl Unpin for ConfigSettings
impl UnwindSafe for ConfigSettings
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