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