pub enum JsonToken {
Space,
String,
Number,
Null,
True,
False,
Punct,
Delim,
Unknown,
}
Variants§
Space
String
Number
Null
True
False
Punct
Punctuation e.g. :
, ,
.
Delim
Delimiter e.g. {
, }
, [
, and ]
.
Unknown
Given valid JSON, then this variant should never be encountered. If is is encountered, then check if an issue has already been submitted, otherwise please submit an issue.
Trait Implementations§
source§impl PartialEq<JsonToken> for JsonToken
impl PartialEq<JsonToken> for JsonToken
impl Copy for JsonToken
impl Eq for JsonToken
impl StructuralEq for JsonToken
impl StructuralPartialEq for JsonToken
Auto Trait Implementations§
impl RefUnwindSafe for JsonToken
impl Send for JsonToken
impl Sync for JsonToken
impl Unpin for JsonToken
impl UnwindSafe for JsonToken
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