Struct cdp::runtime::RemoteObject
[−]
[src]
pub struct RemoteObject<'a> { pub ty: RemoteObjectType, pub subtype: Option<RemoteObjectSubtype>, pub class_name: Option<Cow<'a, str>>, pub value: Option<Value>, pub unserializable_value: Option<UnserializableValue>, pub description: Option<Cow<'a, str>>, pub object_id: Option<RemoteObjectId<'a>>, pub preview: Option<ObjectPreview<'a>>, pub custom_preview: Option<CustomPreview<'a>>, }
Mirror object referencing original JavaScript object.
Fields
ty: RemoteObjectType
Object type.
subtype: Option<RemoteObjectSubtype>
Object subtype hint. Specified for object
type values only.
class_name: Option<Cow<'a, str>>
Object class (constructor) name. Specified for object
type values only.
value: Option<Value>
Remote object value in case of primitive values or JSON values (if it was requested).
unserializable_value: Option<UnserializableValue>
Primitive value which can not be JSON-stringified does not have value
, but gets this property.
description: Option<Cow<'a, str>>
String representation of the object.
object_id: Option<RemoteObjectId<'a>>
Unique object identifier (for non-primitive values).
preview: Option<ObjectPreview<'a>>
[Experimental] Preview containing abbreviated property values. Specified for object
type values only.
custom_preview: Option<CustomPreview<'a>>
[Experimental]
Trait Implementations
impl<'a> Clone for RemoteObject<'a>
[src]
fn clone(&self) -> RemoteObject<'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 RemoteObject<'a>
[src]
impl<'a> PartialEq for RemoteObject<'a>
[src]
fn eq(&self, __arg_0: &RemoteObject<'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: &RemoteObject<'a>) -> bool
[src]
This method tests for !=
.