pub enum JsonEvent {
ObjectStart,
ObjectEnd,
ArrayStart,
ArrayEnd,
BooleanValue(bool),
I64Value(i64),
U64Value(u64),
F64Value(f64),
StringValue(String),
NullValue,
Error(ParserError),
}
Expand description
The output of the streaming parser.
Variants§
ObjectStart
ObjectEnd
ArrayStart
ArrayEnd
BooleanValue(bool)
I64Value(i64)
U64Value(u64)
F64Value(f64)
StringValue(String)
NullValue
Error(ParserError)
Trait Implementations§
impl StructuralPartialEq for JsonEvent
Auto Trait Implementations§
impl Freeze for JsonEvent
impl !RefUnwindSafe for JsonEvent
impl Send for JsonEvent
impl Sync for JsonEvent
impl Unpin for JsonEvent
impl !UnwindSafe for JsonEvent
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