pub struct Object {
pub size: u32,
pub values: HashMap<String, JsonValue>,
}
Expand description
A JavaScript Object (i.e. A Map of keys and values where keys are strings)
Fields§
§size: u32
The number of elements in the object
values: HashMap<String, JsonValue>
All extracted values from the Object. This does not include JavaScript specific values like prototypes and functions.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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