Enum serialize::json::JsonEvent [−][src]
pub enum JsonEvent {
ObjectStart,
ObjectEnd,
ArrayStart,
ArrayEnd,
BooleanValue(bool),
I64Value(i64),
U64Value(u64),
F64Value(f64),
StringValue(String),
NullValue,
Error(ParserError),
}The output of the streaming parser.
Variants
ObjectStartObjectEndArrayStartArrayEndBooleanValue(bool)I64Value(i64)U64Value(u64)F64Value(f64)StringValue(String)NullValueError(ParserError)
Trait Implementations
impl PartialEq for JsonEvent[src]
impl PartialEq for JsonEventfn eq(&self, other: &JsonEvent) -> bool[src]
fn eq(&self, other: &JsonEvent) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &JsonEvent) -> bool[src]
fn ne(&self, other: &JsonEvent) -> boolThis method tests for !=.
impl Clone for JsonEvent[src]
impl Clone for JsonEventfn clone(&self) -> JsonEvent[src]
fn clone(&self) -> JsonEventReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for JsonEvent[src]
impl Debug for JsonEvent