pub struct SetWebLifecycleStateCommand { /* private fields */ }Available on crate features
Page and Debugger and DOM and IO and Network and Runtime and experimental only.Expand description
Tries to update the web lifecycle state of the page. It will transition the page to the given state according to: https://github.com/WICG/web-lifecycle/
Implementations§
Source§impl SetWebLifecycleStateCommand
impl SetWebLifecycleStateCommand
pub fn new(state: SetWebLifecycleStateCommandState) -> Self
Sourcepub fn state(&self) -> &SetWebLifecycleStateCommandState
pub fn state(&self) -> &SetWebLifecycleStateCommandState
Target lifecycle state
Trait Implementations§
Source§impl Clone for SetWebLifecycleStateCommand
impl Clone for SetWebLifecycleStateCommand
Source§fn clone(&self) -> SetWebLifecycleStateCommand
fn clone(&self) -> SetWebLifecycleStateCommand
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 Debug for SetWebLifecycleStateCommand
impl Debug for SetWebLifecycleStateCommand
Source§impl Deref for SetWebLifecycleStateCommand
impl Deref for SetWebLifecycleStateCommand
Source§impl<'de> Deserialize<'de> for SetWebLifecycleStateCommand
impl<'de> Deserialize<'de> for SetWebLifecycleStateCommand
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
Auto Trait Implementations§
impl Freeze for SetWebLifecycleStateCommand
impl RefUnwindSafe for SetWebLifecycleStateCommand
impl Send for SetWebLifecycleStateCommand
impl Sync for SetWebLifecycleStateCommand
impl Unpin for SetWebLifecycleStateCommand
impl UnwindSafe for SetWebLifecycleStateCommand
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