Enum rustc_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
ObjectStart
ObjectEnd
ArrayStart
ArrayEnd
BooleanValue(bool)
I64Value(i64)
U64Value(u64)
F64Value(f64)
StringValue(String)
NullValue
Error(ParserError)
Trait Implementations
impl PartialEq for JsonEvent
[src]
impl PartialEq for JsonEvent
fn eq(&self, other: &JsonEvent) -> bool
[src]
fn eq(&self, other: &JsonEvent) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for JsonEvent
[src]
impl Debug for JsonEvent