Struct cdp::runtime::GetPropertiesCommand
[−]
[src]
pub struct GetPropertiesCommand<'a> { pub object_id: RemoteObjectId<'a>, pub own_properties: Option<bool>, pub accessor_properties_only: Option<bool>, pub generate_preview: Option<bool>, }
Returns properties of a given object. Object group of the result is inherited from the target object.
Command Runtime.getProperties
Domain Module: cdp::runtime
Command Struct: cdp::runtime::GetPropertiesCommand
Response Struct: cdp::runtime::GetPropertiesResponse
Fields
object_id: RemoteObjectId<'a>
Identifier of the object to return properties for.
own_properties: Option<bool>
If true, returns properties belonging only to the element itself, not to its prototype chain.
accessor_properties_only: Option<bool>
[Experimental] If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
generate_preview: Option<bool>
[Experimental] Whether preview should be generated for the results.
Trait Implementations
impl<'a> Clone for GetPropertiesCommand<'a>
[src]
fn clone(&self) -> GetPropertiesCommand<'a>
[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<'a> Debug for GetPropertiesCommand<'a>
[src]
impl<'a> PartialEq for GetPropertiesCommand<'a>
[src]
fn eq(&self, __arg_0: &GetPropertiesCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GetPropertiesCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for GetPropertiesCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Runtime.getProperties"
impl<'a> SerializeCdpCommand for GetPropertiesCommand<'a>
[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, 'a> DeserializeCdpCommand<'de> for GetPropertiesCommand<'a>
[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>,