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