Trait ToValue

Source
pub trait ToValue {
    // Required method
    fn to_value(&self) -> Value;
}

Required Methods§

Source

fn to_value(&self) -> Value

Implementations on Foreign Types§

Source§

impl ToValue for &str

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for bool

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for i32

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for u32

Source§

fn to_value(&self) -> Value

Source§

impl ToValue for String

Source§

fn to_value(&self) -> Value

Implementors§