pub enum OwnedJsonEvent {
String(String),
Number(String),
Boolean(bool),
Null,
StartArray,
EndArray,
StartObject,
EndObject,
ObjectKey(String),
Eof,
}Variants§
String(String)
Number(String)
Boolean(bool)
Null
StartArray
EndArray
StartObject
EndObject
ObjectKey(String)
Eof
Implementations§
Source§impl OwnedJsonEvent
impl OwnedJsonEvent
pub fn as_json_event(&self) -> JsonEvent<'_>
Trait Implementations§
Source§impl Clone for OwnedJsonEvent
impl Clone for OwnedJsonEvent
Source§fn clone(&self) -> OwnedJsonEvent
fn clone(&self) -> OwnedJsonEvent
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 OwnedJsonEvent
impl Debug for OwnedJsonEvent
Source§impl PartialEq for OwnedJsonEvent
impl PartialEq for OwnedJsonEvent
impl StructuralPartialEq for OwnedJsonEvent
Auto Trait Implementations§
impl Freeze for OwnedJsonEvent
impl RefUnwindSafe for OwnedJsonEvent
impl Send for OwnedJsonEvent
impl Sync for OwnedJsonEvent
impl Unpin for OwnedJsonEvent
impl UnwindSafe for OwnedJsonEvent
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