pub enum Value {
Bool(bool),
Int(i64),
Uint(u64),
Float(f64),
Str(&'static str),
String(String),
EventLevel(Level),
Object(Map),
}
Expand description
Map value type.
Variants§
Bool(bool)
Boolean
Int(i64)
Integer
Uint(u64)
Unsigned integer
Float(f64)
Float
Str(&'static str)
String
String(String)
Owned string
EventLevel(Level)
Event level
Object(Map)
Object
Trait Implementations§
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