Struct chromiumoxide_cdp::cdp::browser_protocol::page::AdFrameStatus
source · pub struct AdFrameStatus {
pub ad_frame_type: AdFrameType,
pub explanations: Option<Vec<AdFrameExplanation>>,
}Expand description
Indicates whether a frame has been identified as an ad and why. AdFrameStatus
Fields§
§ad_frame_type: AdFrameType§explanations: Option<Vec<AdFrameExplanation>>Implementations§
source§impl AdFrameStatus
impl AdFrameStatus
pub fn new(ad_frame_type: impl Into<AdFrameType>) -> Self
source§impl AdFrameStatus
impl AdFrameStatus
pub fn builder() -> AdFrameStatusBuilder
source§impl AdFrameStatus
impl AdFrameStatus
pub const IDENTIFIER: &'static str = "Page.AdFrameStatus"
Trait Implementations§
source§impl Clone for AdFrameStatus
impl Clone for AdFrameStatus
source§fn clone(&self) -> AdFrameStatus
fn clone(&self) -> AdFrameStatus
Returns a copy 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 AdFrameStatus
impl Debug for AdFrameStatus
source§impl<'de> Deserialize<'de> for AdFrameStatus
impl<'de> Deserialize<'de> for AdFrameStatus
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 PartialEq<AdFrameStatus> for AdFrameStatus
impl PartialEq<AdFrameStatus> for AdFrameStatus
source§fn eq(&self, other: &AdFrameStatus) -> bool
fn eq(&self, other: &AdFrameStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.