pub enum ContextValue {
String(String),
Integer(i64),
Float(f64),
Bool(bool),
}
Expand description
Structured value for context
Variants§
Trait Implementations§
Source§impl Clone for ContextValue
impl Clone for ContextValue
Source§fn clone(&self) -> ContextValue
fn clone(&self) -> ContextValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ContextValue
impl Debug for ContextValue
Source§impl Display for ContextValue
impl Display for ContextValue
Source§impl PartialEq for ContextValue
impl PartialEq for ContextValue
impl StructuralPartialEq for ContextValue
Auto Trait Implementations§
impl Freeze for ContextValue
impl RefUnwindSafe for ContextValue
impl Send for ContextValue
impl Sync for ContextValue
impl Unpin for ContextValue
impl UnwindSafe for ContextValue
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