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

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>,
}

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

impl RemoteObject[src]

pub fn new(r#type: impl Into<RemoteObjectType>) -> RemoteObject[src]

impl RemoteObject[src]

impl RemoteObject[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for RemoteObject[src]

impl Debug for RemoteObject[src]

impl<'de> Deserialize<'de> for RemoteObject[src]

impl PartialEq<RemoteObject> for RemoteObject[src]

impl Serialize for RemoteObject[src]

impl StructuralPartialEq for RemoteObject[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,