Enum plist::PlistEvent
[−]
[src]
pub enum PlistEvent {
StartArray(Option<u64>),
EndArray,
StartDictionary(Option<u64>),
EndDictionary,
BooleanValue(bool),
DataValue(Vec<u8>),
DateValue(DateTime<UTC>),
IntegerValue(i64),
RealValue(f64),
StringValue(String),
}An encoding of a plist as a flat structure.
Output by the event readers.
Dictionary keys and values are represented as pairs of values e.g.:
StartDictionary StringValue("Height") // Key RealValue(181.2) // Value StringValue("Age") // Key IntegerValue(28) // Value EndDictionary
Variants
StartArray(Option<u64>)EndArrayStartDictionary(Option<u64>)EndDictionaryBooleanValue(bool)DataValue(Vec<u8>)DateValue(DateTime<UTC>)IntegerValue(i64)RealValue(f64)StringValue(String)Trait Implementations
impl Clone for PlistEvent[src]
fn clone(&self) -> PlistEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for PlistEvent[src]
impl PartialEq for PlistEvent[src]
fn eq(&self, __arg_0: &PlistEvent) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PlistEvent) -> bool
This method tests for !=.