Struct cdp::runtime::ObjectPreview
[−]
[src]
pub struct ObjectPreview<'a> {
pub ty: ObjectPreviewType,
pub subtype: Option<ObjectPreviewSubtype>,
pub description: Option<Cow<'a, str>>,
pub overflow: bool,
pub properties: Vec<PropertyPreview<'a>>,
pub entries: Option<Vec<EntryPreview<'a>>>,
}[Experimental] Object containing abbreviated remote object value.
Fields
ty: ObjectPreviewType
Object type.
subtype: Option<ObjectPreviewSubtype>
Object subtype hint. Specified for object type values only.
description: Option<Cow<'a, str>>
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<'a>>
List of the properties.
entries: Option<Vec<EntryPreview<'a>>>
List of the entries. Specified for map and set subtype values only.
Trait Implementations
impl<'a> Clone for ObjectPreview<'a>[src]
fn clone(&self) -> ObjectPreview<'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 ObjectPreview<'a>[src]
impl<'a> PartialEq for ObjectPreview<'a>[src]
fn eq(&self, __arg_0: &ObjectPreview<'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: &ObjectPreview<'a>) -> bool[src]
This method tests for !=.