Struct chromiumoxide_cdp::cdp::js_protocol::runtime::ObjectPreview [−][src]
pub struct ObjectPreview { pub type: ObjectPreviewType, pub subtype: Option<ObjectPreviewSubtype>, pub description: Option<String>, pub overflow: bool, pub properties: Vec<PropertyPreview>, pub entries: Option<Vec<EntryPreview>>, }
Expand description
Object containing abbreviated remote object value. ObjectPreview
Fields
type: ObjectPreviewType
Object type.
subtype: Option<ObjectPreviewSubtype>
Object subtype hint. Specified for object
type values only.
description: Option<String>
String representation of the object.
overflow: bool
True iff some of the properties or entries of the original object did not fit.
properties: Vec<PropertyPreview>
List of the properties.
entries: Option<Vec<EntryPreview>>
List of the entries. Specified for map
and set
subtype values only.
Implementations
pub fn new(
type: impl Into<ObjectPreviewType>,
overflow: impl Into<bool>,
properties: Vec<PropertyPreview>
) -> Self
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for ObjectPreview
impl Send for ObjectPreview
impl Sync for ObjectPreview
impl Unpin for ObjectPreview
impl UnwindSafe for ObjectPreview
Blanket Implementations
Mutably borrows from an owned value. Read more