pub struct DispatchSyncEvent {
pub origin: String,
pub registration_id: RegistrationId,
pub tag: String,
pub last_chance: bool,
}Fields§
§origin: String§registration_id: RegistrationId§tag: String§last_chance: boolTrait Implementations§
Source§impl Clone for DispatchSyncEvent
impl Clone for DispatchSyncEvent
Source§fn clone(&self) -> DispatchSyncEvent
fn clone(&self) -> DispatchSyncEvent
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 Debug for DispatchSyncEvent
impl Debug for DispatchSyncEvent
Source§impl<'de> Deserialize<'de> for DispatchSyncEvent
impl<'de> Deserialize<'de> for DispatchSyncEvent
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 Method for DispatchSyncEvent
impl Method for DispatchSyncEvent
const NAME: &'static str = "ServiceWorker.dispatchSyncEvent"
type ReturnObject = DispatchSyncEventReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for DispatchSyncEvent
impl PartialEq for DispatchSyncEvent
Source§impl Serialize for DispatchSyncEvent
impl Serialize for DispatchSyncEvent
impl StructuralPartialEq for DispatchSyncEvent
Auto Trait Implementations§
impl Freeze for DispatchSyncEvent
impl RefUnwindSafe for DispatchSyncEvent
impl Send for DispatchSyncEvent
impl Sync for DispatchSyncEvent
impl Unpin for DispatchSyncEvent
impl UnwindSafe for DispatchSyncEvent
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