pub struct ServiceWorkerInfo {
pub scope: String,
pub script_url: String,
pub state: String,
}Expand description
Service worker information.
Fields§
§scope: StringService worker scope.
script_url: StringScript URL.
state: StringService worker state.
Trait Implementations§
Source§impl Clone for ServiceWorkerInfo
impl Clone for ServiceWorkerInfo
Source§fn clone(&self) -> ServiceWorkerInfo
fn clone(&self) -> ServiceWorkerInfo
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 ServiceWorkerInfo
impl Debug for ServiceWorkerInfo
Source§impl<'de> Deserialize<'de> for ServiceWorkerInfo
impl<'de> Deserialize<'de> for ServiceWorkerInfo
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 ServiceWorkerInfo
impl RefUnwindSafe for ServiceWorkerInfo
impl Send for ServiceWorkerInfo
impl Sync for ServiceWorkerInfo
impl Unpin for ServiceWorkerInfo
impl UnsafeUnpin for ServiceWorkerInfo
impl UnwindSafe for ServiceWorkerInfo
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