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
version_id: Cow<'a, str>
registration_id: Cow<'a, str>
script_url: Cow<'a, str>
running_status: ServiceWorkerVersionRunningStatus
status: ServiceWorkerVersionStatus
script_last_modified: Option<f64>
The Last-Modified header value of the main script.
script_response_time: Option<f64>
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.
controlled_clients: Option<Vec<TargetId<'a>>>
target_id: Option<TargetId<'a>>
Trait Implementations
impl<'a> Clone for ServiceWorkerVersion<'a>
[src]
fn clone(&self) -> ServiceWorkerVersion<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ServiceWorkerVersion<'a>
[src]
impl<'a> PartialEq for ServiceWorkerVersion<'a>
[src]
fn eq(&self, __arg_0: &ServiceWorkerVersion<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ServiceWorkerVersion<'a>) -> bool
[src]
This method tests for !=
.