Struct cdp::accessibility::GetPartialAxTreeCommand
[−]
[src]
pub struct GetPartialAxTreeCommand { pub node_id: NodeId, pub fetch_relatives: Option<bool>, }
[Experimental] Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
Command Accessibility.getPartialAXTree
Domain Module: cdp::accessibility
Command Struct: cdp::accessibility::GetPartialAxTreeCommand
Response Struct: cdp::accessibility::GetPartialAxTreeResponse
Fields
node_id: NodeId
ID of node to get the partial accessibility tree for.
fetch_relatives: Option<bool>
Whether to fetch this nodes ancestors, siblings and children. Defaults to true.
Trait Implementations
impl Clone for GetPartialAxTreeCommand
[src]
fn clone(&self) -> GetPartialAxTreeCommand
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for GetPartialAxTreeCommand
[src]
impl PartialEq for GetPartialAxTreeCommand
[src]
fn eq(&self, __arg_0: &GetPartialAxTreeCommand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetPartialAxTreeCommand) -> bool
[src]
This method tests for !=
.
impl CdpCommand for GetPartialAxTreeCommand
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Accessibility.getPartialAXTree"
impl SerializeCdpCommand for GetPartialAxTreeCommand
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de> DeserializeCdpCommand<'de> for GetPartialAxTreeCommand
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,