Struct chromiumoxide::cdp::js_protocol::runtime::RemoteObject[][src]

pub struct RemoteObject {
    pub type: RemoteObjectType,
    pub subtype: Option<RemoteObjectSubtype>,
    pub class_name: Option<String>,
    pub value: Option<Value>,
    pub unserializable_value: Option<UnserializableValue>,
    pub description: Option<String>,
    pub object_id: Option<RemoteObjectId>,
    pub preview: Option<ObjectPreview>,
    pub custom_preview: Option<CustomPreview>,
}
Expand description

Mirror object referencing original JavaScript object. RemoteObject

Fields

type: RemoteObjectType

Object type.

subtype: Option<RemoteObjectSubtype>

Object subtype hint. Specified for object or wasm type values only.

class_name: Option<String>

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<String>

String representation of the object.

object_id: Option<RemoteObjectId>

Unique object identifier (for non-primitive values).

preview: Option<ObjectPreview>

Preview containing abbreviated property values. Specified for object type values only.

custom_preview: Option<CustomPreview>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

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

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.