pub enum Value {
String(String),
List(VecDeque<String>),
Hash(HashMap<String, String>),
Set(BTreeSet<String>),
SortedSet(BTreeMap<String, f64>),
}Variants§
String(String)
List(VecDeque<String>)
Hash(HashMap<String, String>)
Set(BTreeSet<String>)
SortedSet(BTreeMap<String, f64>)
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for Value
impl<'__de, __Context> BorrowDecode<'__de, __Context> for Value
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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