pub struct OnPageApiLighthouseTaskPost {
pub url: String,
pub for_mobile: Option<bool>,
pub categories: Option<Vec<String>>,
pub audits: Option<Vec<String>>,
pub version: Option<String>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub tag: Option<String>,
pub pingback_url: Option<String>,
pub postback_url: Option<String>,
}Expand description
Fields§
§url: StringPage URL to audit with Lighthouse.
for_mobile: Option<bool>Run the audit emulating a mobile device.
categories: Option<Vec<String>>Lighthouse categories to run (e.g. “performance”, “seo”).
audits: Option<Vec<String>>Specific Lighthouse audits to run.
version: Option<String>Lighthouse version to use.
language_name: Option<String>Full language name for the report (e.g. “English”).
language_code: Option<String>Language code for the report (e.g. “en”).
tag: Option<String>User-defined task identifier (max 255 characters).
pingback_url: Option<String>URL notified by GET when the task completes.
postback_url: Option<String>URL the results are POSTed to when the task completes.
Implementations§
Trait Implementations§
Source§impl Clone for OnPageApiLighthouseTaskPost
impl Clone for OnPageApiLighthouseTaskPost
Source§impl Debug for OnPageApiLighthouseTaskPost
impl Debug for OnPageApiLighthouseTaskPost
Source§impl<'de> Deserialize<'de> for OnPageApiLighthouseTaskPost
impl<'de> Deserialize<'de> for OnPageApiLighthouseTaskPost
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
Auto Trait Implementations§
impl Freeze for OnPageApiLighthouseTaskPost
impl RefUnwindSafe for OnPageApiLighthouseTaskPost
impl Send for OnPageApiLighthouseTaskPost
impl Sync for OnPageApiLighthouseTaskPost
impl Unpin for OnPageApiLighthouseTaskPost
impl UnsafeUnpin for OnPageApiLighthouseTaskPost
impl UnwindSafe for OnPageApiLighthouseTaskPost
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