pub struct StartWorkerParams {
pub scope_url: String,
}Fields§
§scope_url: StringImplementations§
source§impl StartWorkerParams
impl StartWorkerParams
pub fn new(scope_url: impl Into<String>) -> StartWorkerParams
source§impl StartWorkerParams
impl StartWorkerParams
pub fn builder() -> StartWorkerParamsBuilder
source§impl StartWorkerParams
impl StartWorkerParams
pub const IDENTIFIER: &'static str = "ServiceWorker.startWorker"
Trait Implementations§
source§impl Clone for StartWorkerParams
impl Clone for StartWorkerParams
source§fn clone(&self) -> StartWorkerParams
fn clone(&self) -> StartWorkerParams
Returns a copy 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 Command for StartWorkerParams
impl Command for StartWorkerParams
§type Response = StartWorkerReturns
type Response = StartWorkerReturns
The type of the response this request triggers on the chromium server
source§impl Debug for StartWorkerParams
impl Debug for StartWorkerParams
source§impl<'de> Deserialize<'de> for StartWorkerParams
impl<'de> Deserialize<'de> for StartWorkerParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<StartWorkerParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<StartWorkerParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for StartWorkerParamswhere
T: Into<String>,
impl<T> From<T> for StartWorkerParamswhere T: Into<String>,
source§fn from(url: T) -> StartWorkerParams
fn from(url: T) -> StartWorkerParams
Converts to this type from the input type.
source§impl Method for StartWorkerParams
impl Method for StartWorkerParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for StartWorkerParams
impl MethodType for StartWorkerParams
source§impl PartialEq<StartWorkerParams> for StartWorkerParams
impl PartialEq<StartWorkerParams> for StartWorkerParams
source§fn eq(&self, other: &StartWorkerParams) -> bool
fn eq(&self, other: &StartWorkerParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for StartWorkerParams
impl Serialize for StartWorkerParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more