pub enum PlistValue {
String(String),
Int(i64),
Bool(bool),
Array(Vec<BTreeMap<String, PlistValue>>),
Dict(BTreeMap<String, PlistValue>),
}Expand description
Heterogeneous plist value type for dictionary/plist output methods. Mirrors the NSObject types used in CrashReport’s NSDictionary outputs.
Variants§
String(String)
A string value.
Int(i64)
A signed 64-bit integer value.
Bool(bool)
A boolean value.
Array(Vec<BTreeMap<String, PlistValue>>)
An array of dictionaries (maps to NSArray of NSDictionary).
Dict(BTreeMap<String, PlistValue>)
A nested dictionary (maps to NSDictionary).
Trait Implementations§
Source§impl Clone for PlistValue
impl Clone for PlistValue
Source§fn clone(&self) -> PlistValue
fn clone(&self) -> PlistValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PlistValue
impl RefUnwindSafe for PlistValue
impl Send for PlistValue
impl Sync for PlistValue
impl Unpin for PlistValue
impl UnsafeUnpin for PlistValue
impl UnwindSafe for PlistValue
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