pub struct SetForceUpdateOnPageLoad {
pub method: SetForceUpdateOnPageLoadMethod,
pub params: SetForceUpdateOnPageLoadParams,
}Fields§
§method: SetForceUpdateOnPageLoadMethod§params: SetForceUpdateOnPageLoadParamsImplementations§
Source§impl SetForceUpdateOnPageLoad
impl SetForceUpdateOnPageLoad
pub const IDENTIFIER: &'static str = "ServiceWorker.setForceUpdateOnPageLoad"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetForceUpdateOnPageLoad
impl Clone for SetForceUpdateOnPageLoad
Source§fn clone(&self) -> SetForceUpdateOnPageLoad
fn clone(&self) -> SetForceUpdateOnPageLoad
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 CommandResult for SetForceUpdateOnPageLoad
impl CommandResult for SetForceUpdateOnPageLoad
type Result = SetForceUpdateOnPageLoadResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetForceUpdateOnPageLoad
impl Debug for SetForceUpdateOnPageLoad
Source§impl<'de> Deserialize<'de> for SetForceUpdateOnPageLoad
impl<'de> Deserialize<'de> for SetForceUpdateOnPageLoad
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
Source§impl From<SetForceUpdateOnPageLoad> for BrowserProtocolCommands
impl From<SetForceUpdateOnPageLoad> for BrowserProtocolCommands
Source§fn from(v: SetForceUpdateOnPageLoad) -> Self
fn from(v: SetForceUpdateOnPageLoad) -> Self
Converts to this type from the input type.
Source§impl From<SetForceUpdateOnPageLoad> for Command
impl From<SetForceUpdateOnPageLoad> for Command
Source§fn from(v: SetForceUpdateOnPageLoad) -> Self
fn from(v: SetForceUpdateOnPageLoad) -> Self
Converts to this type from the input type.
Source§impl From<SetForceUpdateOnPageLoad> for ServiceWorkerCommands
impl From<SetForceUpdateOnPageLoad> for ServiceWorkerCommands
Source§fn from(v: SetForceUpdateOnPageLoad) -> Self
fn from(v: SetForceUpdateOnPageLoad) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetForceUpdateOnPageLoad
impl PartialEq for SetForceUpdateOnPageLoad
Source§impl Serialize for SetForceUpdateOnPageLoad
impl Serialize for SetForceUpdateOnPageLoad
Source§impl TryFrom<BrowserProtocolCommands> for SetForceUpdateOnPageLoad
impl TryFrom<BrowserProtocolCommands> for SetForceUpdateOnPageLoad
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetForceUpdateOnPageLoad as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetForceUpdateOnPageLoad as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetForceUpdateOnPageLoad
impl TryFrom<Command> for SetForceUpdateOnPageLoad
Source§impl TryFrom<ServiceWorkerCommands> for SetForceUpdateOnPageLoad
impl TryFrom<ServiceWorkerCommands> for SetForceUpdateOnPageLoad
Source§type Error = ServiceWorkerCommands
type Error = ServiceWorkerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ServiceWorkerCommands,
) -> Result<Self, <SetForceUpdateOnPageLoad as TryFrom<ServiceWorkerCommands>>::Error>
fn try_from( e: ServiceWorkerCommands, ) -> Result<Self, <SetForceUpdateOnPageLoad as TryFrom<ServiceWorkerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetForceUpdateOnPageLoad
Auto Trait Implementations§
impl Freeze for SetForceUpdateOnPageLoad
impl RefUnwindSafe for SetForceUpdateOnPageLoad
impl Send for SetForceUpdateOnPageLoad
impl Sync for SetForceUpdateOnPageLoad
impl Unpin for SetForceUpdateOnPageLoad
impl UnsafeUnpin for SetForceUpdateOnPageLoad
impl UnwindSafe for SetForceUpdateOnPageLoad
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