Trait rustc_serialize::json::ToJson
[−]
[src]
pub trait ToJson { fn to_json(&self) -> Json; }
A trait for converting values to JSON
Required Methods
Implementations on Foreign Types
impl ToJson for isize
[src]
impl ToJson for i8
[src]
impl ToJson for i16
[src]
impl ToJson for i32
[src]
impl ToJson for i64
[src]
impl ToJson for usize
[src]
impl ToJson for u8
[src]
impl ToJson for u16
[src]
impl ToJson for u32
[src]
impl ToJson for u64
[src]
impl ToJson for f32
[src]
impl ToJson for f64
[src]
impl ToJson for ()
[src]
impl ToJson for bool
[src]
impl ToJson for str
[src]
impl ToJson for String
[src]
impl<A: ToJson> ToJson for (A,)
[src]
impl<A: ToJson, B: ToJson> ToJson for (A, B)
[src]
impl<A: ToJson, B: ToJson, C: ToJson> ToJson for (A, B, C)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson> ToJson for (A, B, C, D)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson> ToJson for (A, B, C, D, E)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson> ToJson for (A, B, C, D, E, F)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson> ToJson for (A, B, C, D, E, F, G)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson, H: ToJson> ToJson for (A, B, C, D, E, F, G, H)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson, H: ToJson, I: ToJson> ToJson for (A, B, C, D, E, F, G, H, I)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson, H: ToJson, I: ToJson, J: ToJson> ToJson for (A, B, C, D, E, F, G, H, I, J)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson, H: ToJson, I: ToJson, J: ToJson, K: ToJson> ToJson for (A, B, C, D, E, F, G, H, I, J, K)
[src]
impl<A: ToJson, B: ToJson, C: ToJson, D: ToJson, E: ToJson, F: ToJson, G: ToJson, H: ToJson, I: ToJson, J: ToJson, K: ToJson, L: ToJson> ToJson for (A, B, C, D, E, F, G, H, I, J, K, L)
[src]
impl<A: ToJson> ToJson for [A]
[src]
impl<A: ToJson> ToJson for Vec<A>
[src]
impl<A: ToJson> ToJson for BTreeMap<String, A>
[src]
impl<A: ToJson> ToJson for HashMap<String, A>
[src]
impl<A: ToJson> ToJson for Option<A>
[src]
Implementors
impl ToJson for Json