pub enum Yaml {
Real(String),
Integer(i64),
String(String),
Boolean(bool),
Array(Vec<Yaml>),
Hash(LinkedHashMap<String, Yaml>),
Alias(usize),
Null,
BadValue,
}Expand description
A serializable equivalent of the yaml_rust::Yaml enum. The main difference being that only strings are allowed as hashmap keys.
Variants§
Real(String)
Integer(i64)
String(String)
Boolean(bool)
Array(Vec<Yaml>)
Hash(LinkedHashMap<String, Yaml>)
Alias(usize)
Null
BadValue
Trait Implementations§
impl Eq for Yaml
impl StructuralPartialEq for Yaml
Auto Trait Implementations§
impl Freeze for Yaml
impl RefUnwindSafe for Yaml
impl Send for Yaml
impl Sync for Yaml
impl Unpin for Yaml
impl UnwindSafe for Yaml
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