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