Enum metrix::snapshot::ItemKind [−][src]
pub enum ItemKind { Text(String), Boolean(bool), Float(f64), UInt(u64), Int(i64), Snapshot(Snapshot), }
Variants
Text(String)
Simply a String
in the `Snapshot.
Unfortunately the name String
was already taken...
Boolean(bool)
Float(f64)
UInt(u64)
Int(i64)
Snapshot(Snapshot)
Trait Implementations
impl Debug for ItemKind
[src]
impl Debug for ItemKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ItemKind
[src]
impl Clone for ItemKind
fn clone(&self) -> ItemKind
[src]
fn clone(&self) -> ItemKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ItemKind
[src]
impl PartialEq for ItemKind
fn eq(&self, other: &ItemKind) -> bool
[src]
fn eq(&self, other: &ItemKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ItemKind) -> bool
[src]
fn ne(&self, other: &ItemKind) -> bool
This method tests for !=
.
impl From<u64> for ItemKind
[src]
impl From<u64> for ItemKind
impl From<u32> for ItemKind
[src]
impl From<u32> for ItemKind
impl From<u16> for ItemKind
[src]
impl From<u16> for ItemKind
impl From<u8> for ItemKind
[src]
impl From<u8> for ItemKind
impl From<usize> for ItemKind
[src]
impl From<usize> for ItemKind
impl From<i64> for ItemKind
[src]
impl From<i64> for ItemKind
impl From<i32> for ItemKind
[src]
impl From<i32> for ItemKind
impl From<i16> for ItemKind
[src]
impl From<i16> for ItemKind
impl From<i8> for ItemKind
[src]
impl From<i8> for ItemKind
impl From<isize> for ItemKind
[src]
impl From<isize> for ItemKind
impl From<String> for ItemKind
[src]
impl From<String> for ItemKind
impl<'a> From<&'a str> for ItemKind
[src]
impl<'a> From<&'a str> for ItemKind
impl From<f64> for ItemKind
[src]
impl From<f64> for ItemKind
impl From<f32> for ItemKind
[src]
impl From<f32> for ItemKind
impl From<bool> for ItemKind
[src]
impl From<bool> for ItemKind