pub enum AdFrameType {
None,
Child,
Root,
Unrecognized(String),
}Expand description
Indicates whether a frame has been identified as an ad.
Experimental: may change without notice.
Variants§
None
none
Child
child
Root
root
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for AdFrameType
impl Clone for AdFrameType
Source§impl Debug for AdFrameType
impl Debug for AdFrameType
Source§impl<'de> Deserialize<'de> for AdFrameType
impl<'de> Deserialize<'de> for AdFrameType
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
impl Eq for AdFrameType
Source§impl Hash for AdFrameType
impl Hash for AdFrameType
Source§impl PartialEq for AdFrameType
impl PartialEq for AdFrameType
Source§impl Serialize for AdFrameType
impl Serialize for AdFrameType
impl StructuralPartialEq for AdFrameType
Auto Trait Implementations§
impl Forget for AdFrameType
impl Freeze for AdFrameType
impl RefUnwindSafe for AdFrameType
impl Send for AdFrameType
impl Sync for AdFrameType
impl Unpin for AdFrameType
impl UnsafeUnpin for AdFrameType
impl UnwindSafe for AdFrameType
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