Struct chrome_remote_interface_model::service_worker::ServiceWorkerVersionBuilder [−][src]
This is supported on crate features
experimental
and ServiceWorker
and Target
only.Implementations
impl ServiceWorkerVersionBuilder
[src]
pub fn version_id(&mut self, v: String) -> &mut Self
[src]
pub fn registration_id(&mut self, v: RegistrationId) -> &mut Self
[src]
pub fn script_url(&mut self, v: String) -> &mut Self
[src]
pub fn running_status(
&mut self,
v: ServiceWorkerVersionRunningStatus
) -> &mut Self
[src]
&mut self,
v: ServiceWorkerVersionRunningStatus
) -> &mut Self
pub fn status(&mut self, v: ServiceWorkerVersionStatus) -> &mut Self
[src]
pub fn script_last_modified(&mut self, v: f64) -> &mut Self
[src]
The Last-Modified header value of the main script.
pub fn script_response_time(&mut self, v: f64) -> &mut Self
[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(&mut self, v: Vec<TargetId>) -> &mut Self
[src]
pub fn target_id(&mut self, v: TargetId) -> &mut Self
[src]
pub fn build(&mut self) -> Result<ServiceWorkerVersion, &'static str>
[src]
Trait Implementations
impl Clone for ServiceWorkerVersionBuilder
[src]
fn clone(&self) -> ServiceWorkerVersionBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ServiceWorkerVersionBuilder
[src]
impl Default for ServiceWorkerVersionBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceWorkerVersionBuilder
[src]
impl Send for ServiceWorkerVersionBuilder
[src]
impl Sync for ServiceWorkerVersionBuilder
[src]
impl Unpin for ServiceWorkerVersionBuilder
[src]
impl UnwindSafe for ServiceWorkerVersionBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,