pub enum ValueKind {
Nil,
Boolean(bool),
I64(i64),
I128(i128),
U64(u64),
U128(u128),
Float(f64),
String(String),
Table(Map<String, Value>),
Array(Vec<Value>),
}
Expand description
Underlying kind of the configuration value.
Standard operations on a Value
by users of this crate do not require
knowledge of ValueKind
. Introspection of underlying kind is only required
when the configuration values are unstructured or do not have known types.
Variants
Nil
Boolean(bool)
I64(i64)
I128(i128)
U64(u64)
U128(u128)
Float(f64)
String(String)
Table(Map<String, Value>)
Array(Vec<Value>)
Trait Implementations
impl StructuralPartialEq for ValueKind
Auto Trait Implementations
impl RefUnwindSafe for ValueKind
impl Send for ValueKind
impl Sync for ValueKind
impl Unpin for ValueKind
impl UnwindSafe for ValueKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more