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),
}Expand description
The output of the streaming parser.
Variants
Tuple Fields of BooleanValue
0: boolTuple Fields of I64Value
0: i64Tuple Fields of U64Value
0: u64Tuple Fields of F64Value
0: f64Tuple Fields of StringValue
0: StringTuple Fields of Error
0: ParserErrorTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JsonEvent
impl UnwindSafe for JsonEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes