pub struct Clear {
pub method: ClearMethod,
pub params: ClearParams,
}Expand description
Clears the log. clear
Fields§
§method: ClearMethod§params: ClearParamsImplementations§
Source§impl Clear
impl Clear
pub const IDENTIFIER: &'static str = "Log.clear"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Clear
impl CommandResult for Clear
type Result = ClearResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Clear
impl<'de> Deserialize<'de> for Clear
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<Clear> for BrowserProtocolCommands
impl From<Clear> for BrowserProtocolCommands
Source§impl From<Clear> for LogCommands
impl From<Clear> for LogCommands
Source§impl TryFrom<BrowserProtocolCommands> for Clear
impl TryFrom<BrowserProtocolCommands> for Clear
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, <Clear as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Clear as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<LogCommands> for Clear
impl TryFrom<LogCommands> for Clear
Source§type Error = LogCommands
type Error = LogCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: LogCommands,
) -> Result<Self, <Clear as TryFrom<LogCommands>>::Error>
fn try_from( e: LogCommands, ) -> Result<Self, <Clear as TryFrom<LogCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Clear
Auto Trait Implementations§
impl Freeze for Clear
impl RefUnwindSafe for Clear
impl Send for Clear
impl Sync for Clear
impl Unpin for Clear
impl UnsafeUnpin for Clear
impl UnwindSafe for Clear
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