pub struct StopWorker {
pub method: StopWorkerMethod,
pub params: StopWorkerParams,
}Fields§
§method: StopWorkerMethod§params: StopWorkerParamsImplementations§
Source§impl StopWorker
impl StopWorker
pub fn builder() -> StopWorkerBuilder
Source§impl StopWorker
impl StopWorker
pub const IDENTIFIER: &'static str = "ServiceWorker.stopWorker"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StopWorker
impl Clone for StopWorker
Source§fn clone(&self) -> StopWorker
fn clone(&self) -> StopWorker
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 StopWorker
impl CommandResult for StopWorker
type Result = StopWorkerResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StopWorker
impl Debug for StopWorker
Source§impl<'de> Deserialize<'de> for StopWorker
impl<'de> Deserialize<'de> for StopWorker
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<StopWorker> for BrowserProtocolCommands
impl From<StopWorker> for BrowserProtocolCommands
Source§fn from(v: StopWorker) -> Self
fn from(v: StopWorker) -> Self
Converts to this type from the input type.
Source§impl From<StopWorker> for Command
impl From<StopWorker> for Command
Source§fn from(v: StopWorker) -> Self
fn from(v: StopWorker) -> Self
Converts to this type from the input type.
Source§impl From<StopWorker> for ServiceWorkerCommands
impl From<StopWorker> for ServiceWorkerCommands
Source§fn from(v: StopWorker) -> Self
fn from(v: StopWorker) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StopWorker
impl PartialEq for StopWorker
Source§impl Serialize for StopWorker
impl Serialize for StopWorker
Source§impl TryFrom<BrowserProtocolCommands> for StopWorker
impl TryFrom<BrowserProtocolCommands> for StopWorker
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, <StopWorker as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <StopWorker as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for StopWorker
impl TryFrom<Command> for StopWorker
Source§impl TryFrom<ServiceWorkerCommands> for StopWorker
impl TryFrom<ServiceWorkerCommands> for StopWorker
Source§type Error = ServiceWorkerCommands
type Error = ServiceWorkerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ServiceWorkerCommands,
) -> Result<Self, <StopWorker as TryFrom<ServiceWorkerCommands>>::Error>
fn try_from( e: ServiceWorkerCommands, ) -> Result<Self, <StopWorker as TryFrom<ServiceWorkerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for StopWorker
Auto Trait Implementations§
impl Freeze for StopWorker
impl RefUnwindSafe for StopWorker
impl Send for StopWorker
impl Sync for StopWorker
impl Unpin for StopWorker
impl UnsafeUnpin for StopWorker
impl UnwindSafe for StopWorker
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