pub trait SerJson {
    // Required method
    fn ser_json(&self, d: usize, s: &mut SerJsonState);

    // Provided method
    fn serialize_json(&self) -> String { ... }
}

Required Methods§

source

fn ser_json(&self, d: usize, s: &mut SerJsonState)

Provided Methods§

Implementations on Foreign Types§

source§

impl SerJson for i16

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for bool

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for u64

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for u16

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl<A, B, C, D> SerJson for (A, B, C, D)where A: SerJson, B: SerJson, C: SerJson, D: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl<A, B> SerJson for (A, B)where A: SerJson, B: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl<T> SerJson for Vec<T>where T: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl<T> SerJson for Box<T>where T: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl SerJson for String

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for usize

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl<A, B, C> SerJson for (A, B, C)where A: SerJson, B: SerJson, C: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl SerJson for f64

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for i64

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for f32

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for i8

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl<T> SerJson for [T]where T: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl SerJson for u32

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

impl SerJson for i32

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

source§

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

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl<K, V> SerJson for HashMap<K, V>where K: SerJson, V: SerJson,

source§

fn ser_json(&self, d: usize, s: &mut SerJsonState)

source§

impl SerJson for u8

source§

fn ser_json(&self, _d: usize, s: &mut SerJsonState)

Implementors§