[][src]Trait log::kv::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 ToValue for usize[src]

impl ToValue for isize[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<'v> ToValue for &'v str[src]

impl ToValue for ()[src]

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

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

impl<T: ?Sized> ToValue for Box<T> where
    T: ToValue
[src]

impl ToValue for String[src]

impl<'v> ToValue for Cow<'v, str>[src]

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

Loading content...

Implementors

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

Loading content...