pub struct JsArg {
pub object_type: String,
pub subtype: Option<String>,
pub class_name: Option<String>,
pub value: Option<Value>,
pub description: Option<String>,
pub object_id: Option<String>,
}Expand description
A JavaScript argument from a console message.
Fields§
§object_type: StringObject type (object, function, string, number, etc.).
subtype: Option<String>Object subtype (array, null, regexp, etc.).
class_name: Option<String>Object class name.
value: Option<Value>Primitive value or JSON representation.
description: Option<String>String representation of the object.
object_id: Option<String>Object ID for retrieving properties.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsArg
impl<'de> Deserialize<'de> for JsArg
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 Freeze for JsArg
impl RefUnwindSafe for JsArg
impl Send for JsArg
impl Sync for JsArg
impl Unpin for JsArg
impl UnwindSafe for JsArg
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