pub enum JsonEvent<'a> {
}
Expand description
Possible events during JSON parsing
Variants§
String(Cow<'a, str>)
Number(Cow<'a, str>)
Boolean(bool)
Null
StartArray
NextArrayValue
EndArray
StartObject
NextObjectValue
EndObject
ObjectKey(Cow<'a, str>)
Eof
WhiteSpace(String)
Implementations§
Trait Implementations§
impl<'a> Eq for JsonEvent<'a>
impl<'a> StructuralPartialEq for JsonEvent<'a>
Auto Trait Implementations§
impl<'a> Freeze for JsonEvent<'a>
impl<'a> RefUnwindSafe for JsonEvent<'a>
impl<'a> Send for JsonEvent<'a>
impl<'a> Sync for JsonEvent<'a>
impl<'a> Unpin for JsonEvent<'a>
impl<'a> UnwindSafe for JsonEvent<'a>
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