pub struct HeavyAdIssueDetails { /* private fields */ }Available on crate features
experimental and Audits and Network only.Implementations§
Source§impl HeavyAdIssueDetails
impl HeavyAdIssueDetails
pub fn new( resolution: HeavyAdResolutionStatus, reason: HeavyAdReason, frame: AffectedFrame, ) -> Self
Sourcepub fn resolution(&self) -> &HeavyAdResolutionStatus
pub fn resolution(&self) -> &HeavyAdResolutionStatus
The resolution status, either blocking the content or warning.
Sourcepub fn reason(&self) -> &HeavyAdReason
pub fn reason(&self) -> &HeavyAdReason
The reason the ad was blocked, total network or cpu or peak cpu.
Sourcepub fn frame(&self) -> &AffectedFrame
pub fn frame(&self) -> &AffectedFrame
The frame that was blocked.
Trait Implementations§
Source§impl Clone for HeavyAdIssueDetails
impl Clone for HeavyAdIssueDetails
Source§fn clone(&self) -> HeavyAdIssueDetails
fn clone(&self) -> HeavyAdIssueDetails
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 HeavyAdIssueDetails
impl Debug for HeavyAdIssueDetails
Source§impl<'de> Deserialize<'de> for HeavyAdIssueDetails
impl<'de> Deserialize<'de> for HeavyAdIssueDetails
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 HeavyAdIssueDetails
impl RefUnwindSafe for HeavyAdIssueDetails
impl Send for HeavyAdIssueDetails
impl Sync for HeavyAdIssueDetails
impl Unpin for HeavyAdIssueDetails
impl UnwindSafe for HeavyAdIssueDetails
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