pub struct Disable {
pub method: DisableMethod,
pub params: DisableParams,
}Expand description
Disables DOM snapshot agent for the given page. disable
Fields§
§method: DisableMethod§params: DisableParamsImplementations§
Source§impl Disable
impl Disable
pub const IDENTIFIER: &'static str = "DOMSnapshot.disable"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Disable
impl CommandResult for Disable
type Result = DisableResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Disable
impl<'de> Deserialize<'de> for Disable
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<Disable> for BrowserProtocolCommands
impl From<Disable> for BrowserProtocolCommands
Source§impl From<Disable> for DomSnapshotCommands
impl From<Disable> for DomSnapshotCommands
Source§impl TryFrom<BrowserProtocolCommands> for Disable
impl TryFrom<BrowserProtocolCommands> for Disable
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, <Disable as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Disable as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DomSnapshotCommands> for Disable
impl TryFrom<DomSnapshotCommands> for Disable
Source§type Error = DomSnapshotCommands
type Error = DomSnapshotCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomSnapshotCommands,
) -> Result<Self, <Disable as TryFrom<DomSnapshotCommands>>::Error>
fn try_from( e: DomSnapshotCommands, ) -> Result<Self, <Disable as TryFrom<DomSnapshotCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Disable
Auto Trait Implementations§
impl Freeze for Disable
impl RefUnwindSafe for Disable
impl Send for Disable
impl Sync for Disable
impl Unpin for Disable
impl UnsafeUnpin for Disable
impl UnwindSafe for Disable
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