Struct cdp::service_worker::ServiceWorkerVersion [] [src]

pub struct ServiceWorkerVersion<'a> {
    pub version_id: Cow<'a, str>,
    pub registration_id: Cow<'a, str>,
    pub script_url: Cow<'a, str>,
    pub running_status: ServiceWorkerVersionRunningStatus,
    pub status: ServiceWorkerVersionStatus,
    pub script_last_modified: Option<f64>,
    pub script_response_time: Option<f64>,
    pub controlled_clients: Option<Vec<TargetId<'a>>>,
    pub target_id: Option<TargetId<'a>>,
}

[Experimental] ServiceWorker version.

Fields

The Last-Modified header value of the main script.

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.

Trait Implementations

impl<'a> Clone for ServiceWorkerVersion<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ServiceWorkerVersion<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ServiceWorkerVersion<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.