Struct chrome_remote_interface_model::runtime::ObjectPreview [−][src]
This is supported on crate features
Runtime
and experimental
only.Object containing abbreviated remote object value.
Implementations
impl ObjectPreview
[src]
pub fn builder() -> ObjectPreviewBuilder
[src]
pub fn type(&self) -> &ObjectPreviewType
[src]
Object type.
pub fn subtype(&self) -> Option<&ObjectPreviewSubtype>
[src]
Object subtype hint. Specified for object
type values only.
pub fn description(&self) -> Option<&String>
[src]
String representation of the object.
pub fn overflow(&self) -> bool
[src]
True iff some of the properties or entries of the original object did not fit.
pub fn properties(&self) -> &[JsonValue]ⓘ
[src]
List of the properties.
pub fn entries(&self) -> Option<&Vec<JsonValue>>
[src]
List of the entries. Specified for map
and set
subtype values only.
Trait Implementations
impl Clone for ObjectPreview
[src]
fn clone(&self) -> ObjectPreview
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ObjectPreview
[src]
impl<'de> Deserialize<'de> for ObjectPreview
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ObjectPreview
[src]
Auto Trait Implementations
impl RefUnwindSafe for ObjectPreview
[src]
impl Send for ObjectPreview
[src]
impl Sync for ObjectPreview
[src]
impl Unpin for ObjectPreview
[src]
impl UnwindSafe for ObjectPreview
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,