Trait httplite::ToJson

source ·
pub trait ToJson {
    // Required method
    fn to_json(&self) -> String;
}

Required Methods§

source

fn to_json(&self) -> String

Implementations on Foreign Types§

source§

impl ToJson for &str

source§

fn to_json(&self) -> String

source§

impl ToJson for i32

source§

fn to_json(&self) -> String

source§

impl ToJson for String

source§

fn to_json(&self) -> String

source§

impl<K: ToJson, V: ToJson> ToJson for HashMap<K, V>

source§

fn to_json(&self) -> String

source§

impl<T: ToJson> ToJson for Vec<T>

source§

fn to_json(&self) -> String

source§

impl<T: ToJson, const N: usize> ToJson for [T; N]

source§

fn to_json(&self) -> String

Implementors§