pub struct ClearEvents {
pub method: ClearEventsMethod,
pub params: ClearEventsParams,
}Expand description
Clears all stored data for the service. clearEvents
Fields§
§method: ClearEventsMethod§params: ClearEventsParamsImplementations§
Source§impl ClearEvents
impl ClearEvents
pub fn builder() -> ClearEventsBuilder
Source§impl ClearEvents
impl ClearEvents
pub const IDENTIFIER: &'static str = "BackgroundService.clearEvents"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ClearEvents
impl Clone for ClearEvents
Source§fn clone(&self) -> ClearEvents
fn clone(&self) -> ClearEvents
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 ClearEvents
impl CommandResult for ClearEvents
type Result = ClearEventsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ClearEvents
impl Debug for ClearEvents
Source§impl<'de> Deserialize<'de> for ClearEvents
impl<'de> Deserialize<'de> for ClearEvents
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<ClearEvents> for BackgroundServiceCommands
impl From<ClearEvents> for BackgroundServiceCommands
Source§fn from(v: ClearEvents) -> Self
fn from(v: ClearEvents) -> Self
Converts to this type from the input type.
Source§impl From<ClearEvents> for BrowserProtocolCommands
impl From<ClearEvents> for BrowserProtocolCommands
Source§fn from(v: ClearEvents) -> Self
fn from(v: ClearEvents) -> Self
Converts to this type from the input type.
Source§impl From<ClearEvents> for Command
impl From<ClearEvents> for Command
Source§fn from(v: ClearEvents) -> Self
fn from(v: ClearEvents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClearEvents
impl PartialEq for ClearEvents
Source§impl Serialize for ClearEvents
impl Serialize for ClearEvents
Source§impl TryFrom<BackgroundServiceCommands> for ClearEvents
impl TryFrom<BackgroundServiceCommands> for ClearEvents
Source§type Error = BackgroundServiceCommands
type Error = BackgroundServiceCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BackgroundServiceCommands,
) -> Result<Self, <ClearEvents as TryFrom<BackgroundServiceCommands>>::Error>
fn try_from( e: BackgroundServiceCommands, ) -> Result<Self, <ClearEvents as TryFrom<BackgroundServiceCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for ClearEvents
impl TryFrom<BrowserProtocolCommands> for ClearEvents
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, <ClearEvents as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ClearEvents as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ClearEvents
impl TryFrom<Command> for ClearEvents
impl StructuralPartialEq for ClearEvents
Auto Trait Implementations§
impl Freeze for ClearEvents
impl RefUnwindSafe for ClearEvents
impl Send for ClearEvents
impl Sync for ClearEvents
impl Unpin for ClearEvents
impl UnsafeUnpin for ClearEvents
impl UnwindSafe for ClearEvents
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