Enum tokio_fluent::record::Value
source · pub enum Value {
Bool(bool),
Int(i64),
Uint(u64),
Float(f64),
Str(String),
Object(Map),
Array(Vec<Value>),
}
Expand description
Value object for HashMap of a fluentd record.
Variants§
Bool(bool)
Boolean
Int(i64)
Integer
Uint(u64)
Unsigned integer
Float(f64)
Float
Str(String)
String
Object(Map)
Object
Array(Vec<Value>)
Array
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
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