pub struct DispatchSyncEventCommand { /* private fields */ }Available on crate features
experimental and ServiceWorker and Target only.Implementations§
Source§impl DispatchSyncEventCommand
impl DispatchSyncEventCommand
pub fn builder() -> DispatchSyncEventCommandBuilder
pub fn origin(&self) -> &str
pub fn registration_id(&self) -> &RegistrationId
pub fn tag(&self) -> &str
pub fn last_chance(&self) -> bool
Trait Implementations§
Source§impl Clone for DispatchSyncEventCommand
impl Clone for DispatchSyncEventCommand
Source§fn clone(&self) -> DispatchSyncEventCommand
fn clone(&self) -> DispatchSyncEventCommand
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 Command for DispatchSyncEventCommand
impl Command for DispatchSyncEventCommand
Source§impl Debug for DispatchSyncEventCommand
impl Debug for DispatchSyncEventCommand
Source§impl<'de> Deserialize<'de> for DispatchSyncEventCommand
impl<'de> Deserialize<'de> for DispatchSyncEventCommand
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 DispatchSyncEventCommand
impl RefUnwindSafe for DispatchSyncEventCommand
impl Send for DispatchSyncEventCommand
impl Sync for DispatchSyncEventCommand
impl Unpin for DispatchSyncEventCommand
impl UnwindSafe for DispatchSyncEventCommand
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