Struct chrome_remote_interface_model::service_worker::ServiceWorkerVersion[][src]

pub struct ServiceWorkerVersion { /* fields omitted */ }
This is supported on crate features experimental and ServiceWorker and Target only.

ServiceWorker version.

Implementations

impl ServiceWorkerVersion[src]

pub fn builder() -> ServiceWorkerVersionBuilder[src]

pub fn version_id(&self) -> &str[src]

pub fn registration_id(&self) -> &RegistrationId[src]

pub fn script_url(&self) -> &str[src]

pub fn running_status(&self) -> &ServiceWorkerVersionRunningStatus[src]

pub fn status(&self) -> &ServiceWorkerVersionStatus[src]

pub fn script_last_modified(&self) -> Option<&f64>[src]

The Last-Modified header value of the main script.

pub fn script_response_time(&self) -> Option<&f64>[src]

The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.

pub fn controlled_clients(&self) -> Option<&Vec<TargetId>>[src]

pub fn target_id(&self) -> Option<&TargetId>[src]

Trait Implementations

impl Clone for ServiceWorkerVersion[src]

impl Debug for ServiceWorkerVersion[src]

impl<'de> Deserialize<'de> for ServiceWorkerVersion[src]

impl Serialize for ServiceWorkerVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.