pub struct ServiceWorkerRegistration {
pub registration_id: RegistrationId,
pub scope_url: String,
pub is_deleted: bool,
}Expand description
ServiceWorker registration. ServiceWorkerRegistration
Fields§
§registration_id: RegistrationId§scope_url: String§is_deleted: boolImplementations§
Source§impl ServiceWorkerRegistration
impl ServiceWorkerRegistration
pub const IDENTIFIER: &'static str = "ServiceWorker.ServiceWorkerRegistration"
Trait Implementations§
Source§impl Clone for ServiceWorkerRegistration
impl Clone for ServiceWorkerRegistration
Source§fn clone(&self) -> ServiceWorkerRegistration
fn clone(&self) -> ServiceWorkerRegistration
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 ServiceWorkerRegistration
impl Debug for ServiceWorkerRegistration
Source§impl<'de> Deserialize<'de> for ServiceWorkerRegistration
impl<'de> Deserialize<'de> for ServiceWorkerRegistration
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
impl StructuralPartialEq for ServiceWorkerRegistration
Auto Trait Implementations§
impl Freeze for ServiceWorkerRegistration
impl RefUnwindSafe for ServiceWorkerRegistration
impl Send for ServiceWorkerRegistration
impl Sync for ServiceWorkerRegistration
impl Unpin for ServiceWorkerRegistration
impl UnwindSafe for ServiceWorkerRegistration
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