Trait log::kv::ToValue

source ·
pub trait ToValue {
    // Required method
    fn to_value(&self) -> Value<'_>;
}
Expand description

A type that can be converted into a Value.

Required Methods§

source

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

Perform the conversion.

Implementations on Foreign Types§

source§

impl ToValue for bool

source§

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

source§

impl ToValue for char

source§

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

source§

impl ToValue for f32

source§

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

source§

impl ToValue for f64

source§

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

source§

impl ToValue for i8

source§

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

source§

impl ToValue for i16

source§

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

source§

impl ToValue for i32

source§

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

source§

impl ToValue for i64

source§

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

source§

impl ToValue for i128

source§

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

source§

impl ToValue for isize

source§

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

source§

impl ToValue for str

source§

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

source§

impl ToValue for u8

source§

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

source§

impl ToValue for u16

source§

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

source§

impl ToValue for u32

source§

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

source§

impl ToValue for u64

source§

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

source§

impl ToValue for u128

source§

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

source§

impl ToValue for ()

source§

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

source§

impl ToValue for usize

source§

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

source§

impl ToValue for NonZeroI8

source§

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

source§

impl ToValue for NonZeroI16

source§

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

source§

impl ToValue for NonZeroI32

source§

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

source§

impl ToValue for NonZeroI64

source§

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

source§

impl ToValue for NonZeroI128

source§

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

source§

impl ToValue for NonZeroIsize

source§

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

source§

impl ToValue for NonZeroU8

source§

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

source§

impl ToValue for NonZeroU16

source§

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

source§

impl ToValue for NonZeroU32

source§

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

source§

impl ToValue for NonZeroU64

source§

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

source§

impl ToValue for NonZeroU128

source§

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

source§

impl ToValue for NonZeroUsize

source§

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

source§

impl ToValue for dyn Debug

source§

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

source§

impl ToValue for dyn Display

source§

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

source§

impl<'a, T> ToValue for &'a T
where T: ToValue + ?Sized,

source§

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

source§

impl<T> ToValue for Option<T>
where T: ToValue,

source§

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

Implementors§

source§

impl<'v> ToValue for Value<'v>