Struct cdp::runtime::PropertyPreview
[−]
[src]
pub struct PropertyPreview<'a> { pub name: Cow<'a, str>, pub ty: PropertyPreviewType, pub value: Option<Cow<'a, str>>, pub value_preview: Option<ObjectPreview<'a>>, pub subtype: Option<PropertyPreviewSubtype>, }
[Experimental]
Fields
name: Cow<'a, str>
Property name.
ty: PropertyPreviewType
Object type. Accessor means that the property itself is an accessor property.
value: Option<Cow<'a, str>>
User-friendly property value string.
value_preview: Option<ObjectPreview<'a>>
Nested value preview.
subtype: Option<PropertyPreviewSubtype>
Object subtype hint. Specified for object
type values only.
Trait Implementations
impl<'a> Clone for PropertyPreview<'a>
[src]
fn clone(&self) -> PropertyPreview<'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 PropertyPreview<'a>
[src]
impl<'a> PartialEq for PropertyPreview<'a>
[src]
fn eq(&self, __arg_0: &PropertyPreview<'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: &PropertyPreview<'a>) -> bool
[src]
This method tests for !=
.