pub enum JsonStreamEvent {
StartObject,
EndObject,
StartArray {
length: usize,
},
EndArray,
Key {
key: String,
was_quoted: bool,
},
Primitive {
value: JsonPrimitive,
},
}Variants§
Trait Implementations§
Source§impl Clone for JsonStreamEvent
impl Clone for JsonStreamEvent
Source§fn clone(&self) -> JsonStreamEvent
fn clone(&self) -> JsonStreamEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonStreamEvent
impl Debug for JsonStreamEvent
Source§impl PartialEq for JsonStreamEvent
impl PartialEq for JsonStreamEvent
impl StructuralPartialEq for JsonStreamEvent
Auto Trait Implementations§
impl Freeze for JsonStreamEvent
impl RefUnwindSafe for JsonStreamEvent
impl Send for JsonStreamEvent
impl Sync for JsonStreamEvent
impl Unpin for JsonStreamEvent
impl UnwindSafe for JsonStreamEvent
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