ToMsgPackValue

Trait ToMsgPackValue 

Source
pub trait ToMsgPackValue {
    // Required methods
    fn to_msgpack_value(self) -> Value;
    fn field_type() -> FieldType;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ToMsgPackValue for &f32

Source§

impl ToMsgPackValue for &f64

Source§

impl ToMsgPackValue for &i8

Source§

impl ToMsgPackValue for &i16

Source§

impl ToMsgPackValue for &i32

Source§

impl ToMsgPackValue for &i64

Source§

impl ToMsgPackValue for &str

Source§

impl ToMsgPackValue for &u8

Source§

impl ToMsgPackValue for &u16

Source§

impl ToMsgPackValue for &u32

Source§

impl ToMsgPackValue for &u64

Source§

impl ToMsgPackValue for &usize

Source§

impl ToMsgPackValue for bool

Source§

impl ToMsgPackValue for f32

Source§

impl ToMsgPackValue for f64

Source§

impl ToMsgPackValue for i8

Source§

impl ToMsgPackValue for i16

Source§

impl ToMsgPackValue for i32

Source§

impl ToMsgPackValue for i64

Source§

impl ToMsgPackValue for u8

Source§

impl ToMsgPackValue for u16

Source§

impl ToMsgPackValue for u32

Source§

impl ToMsgPackValue for u64

Source§

impl ToMsgPackValue for usize

Source§

impl ToMsgPackValue for String

Source§

impl ToMsgPackValue for Vec<&str>

Source§

impl ToMsgPackValue for Vec<u8>

Source§

impl ToMsgPackValue for Vec<String>

Source§

impl<K, V> ToMsgPackValue for HashMap<K, V>
where Value: From<K> + From<V>,

Source§

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

Source§

impl<Tz> ToMsgPackValue for &DateTime<Tz>
where Tz: TimeZone,

Source§

impl<Tz> ToMsgPackValue for DateTime<Tz>
where Tz: TimeZone,

Implementors§