Struct chromiumoxide_cdp::cdp::browser_protocol::audits::HeavyAdIssueDetails [−][src]
pub struct HeavyAdIssueDetails { pub resolution: HeavyAdResolutionStatus, pub reason: HeavyAdReason, pub frame: AffectedFrame, }
Fields
resolution: HeavyAdResolutionStatus
The resolution status, either blocking the content or warning.
reason: HeavyAdReason
The reason the ad was blocked, total network or cpu or peak cpu.
frame: AffectedFrame
The frame that was blocked.
Implementations
pub fn new(
resolution: impl Into<HeavyAdResolutionStatus>,
reason: impl Into<HeavyAdReason>,
frame: impl Into<AffectedFrame>
) -> Self
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for HeavyAdIssueDetails
impl Send for HeavyAdIssueDetails
impl Sync for HeavyAdIssueDetails
impl Unpin for HeavyAdIssueDetails
impl UnwindSafe for HeavyAdIssueDetails
Blanket Implementations
Mutably borrows from an owned value. Read more