pub struct SetFocusEmulationEnabled {
pub method: SetFocusEmulationEnabledMethod,
pub params: SetFocusEmulationEnabledParams,
}Expand description
Enables or disables simulating a focused and active page. setFocusEmulationEnabled
Fields§
§method: SetFocusEmulationEnabledMethod§params: SetFocusEmulationEnabledParamsImplementations§
Source§impl SetFocusEmulationEnabled
impl SetFocusEmulationEnabled
pub const IDENTIFIER: &'static str = "Emulation.setFocusEmulationEnabled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetFocusEmulationEnabled
impl Clone for SetFocusEmulationEnabled
Source§fn clone(&self) -> SetFocusEmulationEnabled
fn clone(&self) -> SetFocusEmulationEnabled
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 SetFocusEmulationEnabled
impl CommandResult for SetFocusEmulationEnabled
type Result = SetFocusEmulationEnabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetFocusEmulationEnabled
impl Debug for SetFocusEmulationEnabled
Source§impl<'de> Deserialize<'de> for SetFocusEmulationEnabled
impl<'de> Deserialize<'de> for SetFocusEmulationEnabled
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<SetFocusEmulationEnabled> for BrowserProtocolCommands
impl From<SetFocusEmulationEnabled> for BrowserProtocolCommands
Source§fn from(v: SetFocusEmulationEnabled) -> Self
fn from(v: SetFocusEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetFocusEmulationEnabled> for Command
impl From<SetFocusEmulationEnabled> for Command
Source§fn from(v: SetFocusEmulationEnabled) -> Self
fn from(v: SetFocusEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetFocusEmulationEnabled> for EmulationCommands
impl From<SetFocusEmulationEnabled> for EmulationCommands
Source§fn from(v: SetFocusEmulationEnabled) -> Self
fn from(v: SetFocusEmulationEnabled) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetFocusEmulationEnabled
impl PartialEq for SetFocusEmulationEnabled
Source§impl Serialize for SetFocusEmulationEnabled
impl Serialize for SetFocusEmulationEnabled
Source§impl TryFrom<BrowserProtocolCommands> for SetFocusEmulationEnabled
impl TryFrom<BrowserProtocolCommands> for SetFocusEmulationEnabled
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, <SetFocusEmulationEnabled as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetFocusEmulationEnabled as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetFocusEmulationEnabled
impl TryFrom<Command> for SetFocusEmulationEnabled
Source§impl TryFrom<EmulationCommands> for SetFocusEmulationEnabled
impl TryFrom<EmulationCommands> for SetFocusEmulationEnabled
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <SetFocusEmulationEnabled as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetFocusEmulationEnabled as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetFocusEmulationEnabled
Auto Trait Implementations§
impl Freeze for SetFocusEmulationEnabled
impl RefUnwindSafe for SetFocusEmulationEnabled
impl Send for SetFocusEmulationEnabled
impl Sync for SetFocusEmulationEnabled
impl Unpin for SetFocusEmulationEnabled
impl UnsafeUnpin for SetFocusEmulationEnabled
impl UnwindSafe for SetFocusEmulationEnabled
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