pub enum UsageValue {
Int(i64),
Dict(HashMap<String, UsageValue>),
}Expand description
A value in a usage dictionary.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UsageValue
impl Clone for UsageValue
Source§fn clone(&self) -> UsageValue
fn clone(&self) -> UsageValue
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 UsageValue
impl Debug for UsageValue
Source§impl From<HashMap<String, UsageValue>> for UsageValue
impl From<HashMap<String, UsageValue>> for UsageValue
Source§impl From<i32> for UsageValue
impl From<i32> for UsageValue
Source§impl From<i64> for UsageValue
impl From<i64> for UsageValue
Source§impl PartialEq for UsageValue
impl PartialEq for UsageValue
impl StructuralPartialEq for UsageValue
Auto Trait Implementations§
impl Freeze for UsageValue
impl RefUnwindSafe for UsageValue
impl Send for UsageValue
impl Sync for UsageValue
impl Unpin for UsageValue
impl UnwindSafe for UsageValue
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