pub struct SetLifecycleEventsEnabled {
pub method: SetLifecycleEventsEnabledMethod,
pub params: SetLifecycleEventsEnabledParams,
}Expand description
Controls whether page will emit lifecycle events. setLifecycleEventsEnabled
Fields§
§method: SetLifecycleEventsEnabledMethod§params: SetLifecycleEventsEnabledParamsImplementations§
Source§impl SetLifecycleEventsEnabled
impl SetLifecycleEventsEnabled
pub const IDENTIFIER: &'static str = "Page.setLifecycleEventsEnabled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetLifecycleEventsEnabled
impl Clone for SetLifecycleEventsEnabled
Source§fn clone(&self) -> SetLifecycleEventsEnabled
fn clone(&self) -> SetLifecycleEventsEnabled
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 SetLifecycleEventsEnabled
impl CommandResult for SetLifecycleEventsEnabled
type Result = SetLifecycleEventsEnabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetLifecycleEventsEnabled
impl Debug for SetLifecycleEventsEnabled
Source§impl<'de> Deserialize<'de> for SetLifecycleEventsEnabled
impl<'de> Deserialize<'de> for SetLifecycleEventsEnabled
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<SetLifecycleEventsEnabled> for BrowserProtocolCommands
impl From<SetLifecycleEventsEnabled> for BrowserProtocolCommands
Source§fn from(v: SetLifecycleEventsEnabled) -> Self
fn from(v: SetLifecycleEventsEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetLifecycleEventsEnabled> for Command
impl From<SetLifecycleEventsEnabled> for Command
Source§fn from(v: SetLifecycleEventsEnabled) -> Self
fn from(v: SetLifecycleEventsEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetLifecycleEventsEnabled> for PageCommands
impl From<SetLifecycleEventsEnabled> for PageCommands
Source§fn from(v: SetLifecycleEventsEnabled) -> Self
fn from(v: SetLifecycleEventsEnabled) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for SetLifecycleEventsEnabled
impl TryFrom<BrowserProtocolCommands> for SetLifecycleEventsEnabled
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, <SetLifecycleEventsEnabled as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetLifecycleEventsEnabled as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetLifecycleEventsEnabled
impl TryFrom<Command> for SetLifecycleEventsEnabled
Source§impl TryFrom<PageCommands> for SetLifecycleEventsEnabled
impl TryFrom<PageCommands> for SetLifecycleEventsEnabled
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <SetLifecycleEventsEnabled as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <SetLifecycleEventsEnabled as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetLifecycleEventsEnabled
Auto Trait Implementations§
impl Freeze for SetLifecycleEventsEnabled
impl RefUnwindSafe for SetLifecycleEventsEnabled
impl Send for SetLifecycleEventsEnabled
impl Sync for SetLifecycleEventsEnabled
impl Unpin for SetLifecycleEventsEnabled
impl UnsafeUnpin for SetLifecycleEventsEnabled
impl UnwindSafe for SetLifecycleEventsEnabled
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