pub struct DispatchPeriodicSyncEventCommand { /* private fields */ }Available on crate features
experimental and ServiceWorker and Target only.Implementations§
Source§impl DispatchPeriodicSyncEventCommand
impl DispatchPeriodicSyncEventCommand
pub fn new(origin: String, registration_id: RegistrationId, tag: String) -> Self
pub fn origin(&self) -> &str
pub fn registration_id(&self) -> &RegistrationId
pub fn tag(&self) -> &str
Trait Implementations§
Source§impl Clone for DispatchPeriodicSyncEventCommand
impl Clone for DispatchPeriodicSyncEventCommand
Source§fn clone(&self) -> DispatchPeriodicSyncEventCommand
fn clone(&self) -> DispatchPeriodicSyncEventCommand
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<'de> Deserialize<'de> for DispatchPeriodicSyncEventCommand
impl<'de> Deserialize<'de> for DispatchPeriodicSyncEventCommand
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
Auto Trait Implementations§
impl Freeze for DispatchPeriodicSyncEventCommand
impl RefUnwindSafe for DispatchPeriodicSyncEventCommand
impl Send for DispatchPeriodicSyncEventCommand
impl Sync for DispatchPeriodicSyncEventCommand
impl Unpin for DispatchPeriodicSyncEventCommand
impl UnwindSafe for DispatchPeriodicSyncEventCommand
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