pub struct Enable {
pub method: EnableMethod,
pub params: EnableParams,
}Expand description
Enables the accessibility domain which causes AXNodeIds to remain consistent between method calls.
This turns on accessibility for the page, which can impact performance until accessibility is disabled.
enable
Fields§
§method: EnableMethod§params: EnableParamsImplementations§
Source§impl Enable
impl Enable
pub const IDENTIFIER: &'static str = "Accessibility.enable"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Enable
impl CommandResult for Enable
type Result = EnableResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Enable
impl<'de> Deserialize<'de> for Enable
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<Enable> for AccessibilityCommands
impl From<Enable> for AccessibilityCommands
Source§impl From<Enable> for BrowserProtocolCommands
impl From<Enable> for BrowserProtocolCommands
Source§impl TryFrom<AccessibilityCommands> for Enable
impl TryFrom<AccessibilityCommands> for Enable
Source§type Error = AccessibilityCommands
type Error = AccessibilityCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AccessibilityCommands,
) -> Result<Self, <Enable as TryFrom<AccessibilityCommands>>::Error>
fn try_from( e: AccessibilityCommands, ) -> Result<Self, <Enable as TryFrom<AccessibilityCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for Enable
impl TryFrom<BrowserProtocolCommands> for Enable
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, <Enable as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Enable as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl Freeze for Enable
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnsafeUnpin for Enable
impl UnwindSafe for Enable
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