[][src]Trait log::key_values::value::ToValue

pub trait ToValue {
    fn to_value(&self) -> Value;
}

A type that can be converted into a value.

Required methods

fn to_value(&self) -> Value

Perform the conversion.

Loading content...

Implementations on Foreign Types

impl<'a, T> ToValue for &'a T where
    T: ToValue
[src]

impl ToValue for ()[src]

impl ToValue for u8[src]

impl ToValue for u16[src]

impl ToValue for u32[src]

impl ToValue for u64[src]

impl ToValue for i8[src]

impl ToValue for i16[src]

impl ToValue for i32[src]

impl ToValue for i64[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for bool[src]

impl ToValue for char[src]

impl<T> ToValue for Option<T> where
    T: ToValue
[src]

impl<'a> ToValue for &'a str[src]

Loading content...

Implementors

impl<'v> ToValue for Value<'v>[src]

Loading content...