pub struct RemoteObject {
pub object_type: String,
pub value: Option<Value>,
pub description: Option<String>,
}Expand description
A JS value as CDP’s Runtime domain represents it.
Fields§
§object_type: StringJS typeof of the value, e.g. "string", "object".
value: Option<Value>The value itself, present when returnByValue: true was requested.
description: Option<String>Human-readable description Chrome generates for the value.
Trait Implementations§
Source§impl Clone for RemoteObject
impl Clone for RemoteObject
Source§impl Debug for RemoteObject
impl Debug for RemoteObject
Source§impl<'de> Deserialize<'de> for RemoteObject
impl<'de> Deserialize<'de> for RemoteObject
Source§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
Auto Trait Implementations§
impl Forget for RemoteObject
impl Freeze for RemoteObject
impl RefUnwindSafe for RemoteObject
impl Send for RemoteObject
impl Sync for RemoteObject
impl Unpin for RemoteObject
impl UnsafeUnpin for RemoteObject
impl UnwindSafe for RemoteObject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more