pub struct StartWorker {
pub method: StartWorkerMethod,
pub params: StartWorkerParams,
}Fields§
§method: StartWorkerMethod§params: StartWorkerParamsImplementations§
Source§impl StartWorker
impl StartWorker
pub fn builder() -> StartWorkerBuilder
Source§impl StartWorker
impl StartWorker
pub const IDENTIFIER: &'static str = "ServiceWorker.startWorker"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StartWorker
impl Clone for StartWorker
Source§fn clone(&self) -> StartWorker
fn clone(&self) -> StartWorker
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 StartWorker
impl CommandResult for StartWorker
type Result = StartWorkerResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StartWorker
impl Debug for StartWorker
Source§impl<'de> Deserialize<'de> for StartWorker
impl<'de> Deserialize<'de> for StartWorker
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<StartWorker> for BrowserProtocolCommands
impl From<StartWorker> for BrowserProtocolCommands
Source§fn from(v: StartWorker) -> Self
fn from(v: StartWorker) -> Self
Converts to this type from the input type.
Source§impl From<StartWorker> for Command
impl From<StartWorker> for Command
Source§fn from(v: StartWorker) -> Self
fn from(v: StartWorker) -> Self
Converts to this type from the input type.
Source§impl From<StartWorker> for ServiceWorkerCommands
impl From<StartWorker> for ServiceWorkerCommands
Source§fn from(v: StartWorker) -> Self
fn from(v: StartWorker) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StartWorker
impl PartialEq for StartWorker
Source§impl Serialize for StartWorker
impl Serialize for StartWorker
Source§impl TryFrom<BrowserProtocolCommands> for StartWorker
impl TryFrom<BrowserProtocolCommands> for StartWorker
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, <StartWorker as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <StartWorker as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for StartWorker
impl TryFrom<Command> for StartWorker
Source§impl TryFrom<ServiceWorkerCommands> for StartWorker
impl TryFrom<ServiceWorkerCommands> for StartWorker
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, <StartWorker as TryFrom<ServiceWorkerCommands>>::Error>
fn try_from( e: ServiceWorkerCommands, ) -> Result<Self, <StartWorker as TryFrom<ServiceWorkerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for StartWorker
Auto Trait Implementations§
impl Freeze for StartWorker
impl RefUnwindSafe for StartWorker
impl Send for StartWorker
impl Sync for StartWorker
impl Unpin for StartWorker
impl UnsafeUnpin for StartWorker
impl UnwindSafe for StartWorker
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