pub enum Value {
String(String),
Int(i32),
Long(i64),
Uint(u32),
Ulong(u64),
Float(f32),
Double(f64),
Boolean(bool),
}
Expand description
Holds a value read from a configuration source
Variants§
Trait Implementations§
Source§impl TryFromValue for Value
impl TryFromValue for Value
fn try_from_value(value: Value) -> Result<Self, TryFromValueError>
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