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

Object type.

Object subtype hint. Specified for object type values only.

Object class (constructor) name. Specified for object type values only.

Remote object value in case of primitive values or JSON values (if it was requested).

Primitive value which can not be JSON-stringified does not have value, but gets this property.

String representation of the object.

Unique object identifier (for non-primitive values).

[Experimental] Preview containing abbreviated property values. Specified for object type values only.

[Experimental]

Trait Implementations

impl<'a> Clone for RemoteObject<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for RemoteObject<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for RemoteObject<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.