Trait log::kv::ToValue[][src]

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

A type that can be converted into a Value.

Required methods

fn to_value(&self) -> Value<'_>[src]

Perform the conversion.

Loading content...

Implementations on Foreign Types

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

impl ToValue for dyn Debug[src]

impl ToValue for dyn Display[src]

impl ToValue for str[src]

impl ToValue for ()[src]

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

impl ToValue for usize[src]

impl ToValue for u8[src]

impl ToValue for u16[src]

impl ToValue for u32[src]

impl ToValue for u64[src]

impl ToValue for u128[src]

impl ToValue for isize[src]

impl ToValue for i8[src]

impl ToValue for i16[src]

impl ToValue for i32[src]

impl ToValue for i64[src]

impl ToValue for i128[src]

impl ToValue for f32[src]

impl ToValue for f64[src]

impl ToValue for char[src]

impl ToValue for bool[src]

Loading content...

Implementors

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

Loading content...