pub struct SetShowAdHighlights {
pub method: SetShowAdHighlightsMethod,
pub params: SetShowAdHighlightsParams,
}Expand description
Highlights owner element of all frames detected to be ads. setShowAdHighlights
Fields§
§method: SetShowAdHighlightsMethod§params: SetShowAdHighlightsParamsImplementations§
Source§impl SetShowAdHighlights
impl SetShowAdHighlights
pub fn builder() -> SetShowAdHighlightsBuilder
Source§impl SetShowAdHighlights
impl SetShowAdHighlights
pub const IDENTIFIER: &'static str = "Overlay.setShowAdHighlights"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetShowAdHighlights
impl Clone for SetShowAdHighlights
Source§fn clone(&self) -> SetShowAdHighlights
fn clone(&self) -> SetShowAdHighlights
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 CommandResult for SetShowAdHighlights
impl CommandResult for SetShowAdHighlights
type Result = SetShowAdHighlightsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetShowAdHighlights
impl Debug for SetShowAdHighlights
Source§impl<'de> Deserialize<'de> for SetShowAdHighlights
impl<'de> Deserialize<'de> for SetShowAdHighlights
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 From<SetShowAdHighlights> for BrowserProtocolCommands
impl From<SetShowAdHighlights> for BrowserProtocolCommands
Source§fn from(v: SetShowAdHighlights) -> Self
fn from(v: SetShowAdHighlights) -> Self
Converts to this type from the input type.
Source§impl From<SetShowAdHighlights> for Command
impl From<SetShowAdHighlights> for Command
Source§fn from(v: SetShowAdHighlights) -> Self
fn from(v: SetShowAdHighlights) -> Self
Converts to this type from the input type.
Source§impl From<SetShowAdHighlights> for OverlayCommands
impl From<SetShowAdHighlights> for OverlayCommands
Source§fn from(v: SetShowAdHighlights) -> Self
fn from(v: SetShowAdHighlights) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetShowAdHighlights
impl PartialEq for SetShowAdHighlights
Source§impl Serialize for SetShowAdHighlights
impl Serialize for SetShowAdHighlights
Source§impl TryFrom<BrowserProtocolCommands> for SetShowAdHighlights
impl TryFrom<BrowserProtocolCommands> for SetShowAdHighlights
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetShowAdHighlights as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetShowAdHighlights as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetShowAdHighlights
impl TryFrom<Command> for SetShowAdHighlights
Source§impl TryFrom<OverlayCommands> for SetShowAdHighlights
impl TryFrom<OverlayCommands> for SetShowAdHighlights
Source§type Error = OverlayCommands
type Error = OverlayCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: OverlayCommands,
) -> Result<Self, <SetShowAdHighlights as TryFrom<OverlayCommands>>::Error>
fn try_from( e: OverlayCommands, ) -> Result<Self, <SetShowAdHighlights as TryFrom<OverlayCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetShowAdHighlights
Auto Trait Implementations§
impl Freeze for SetShowAdHighlights
impl RefUnwindSafe for SetShowAdHighlights
impl Send for SetShowAdHighlights
impl Sync for SetShowAdHighlights
impl Unpin for SetShowAdHighlights
impl UnsafeUnpin for SetShowAdHighlights
impl UnwindSafe for SetShowAdHighlights
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