Trait protobuf::PbPrint[][src]

pub trait PbPrint {
    fn fmt(&self, name: &str, buf: &mut String);
}

A trait used for pretty printing protobuf message.

Required methods

fn fmt(&self, name: &str, buf: &mut String)[src]

Format self to buf.

Loading content...

Implementations on Foreign Types

impl<T: PbPrint> PbPrint for Option<T>[src]

impl PbPrint for String[src]

impl PbPrint for Vec<u8>[src]

impl PbPrint for Bytes[src]

impl<T: PbPrint> PbPrint for Vec<T>[src]

impl<K: PbPrint, V: PbPrint, S> PbPrint for HashMap<K, V, S>[src]

impl PbPrint for i32[src]

impl PbPrint for i64[src]

impl PbPrint for u32[src]

impl PbPrint for u64[src]

impl PbPrint for f32[src]

impl PbPrint for f64[src]

impl PbPrint for bool[src]

Loading content...

Implementors

impl<T: PbPrint> PbPrint for RepeatedField<T>[src]

impl<T: PbPrint> PbPrint for SingularField<T>[src]

impl<T: PbPrint> PbPrint for SingularPtrField<T>[src]

Loading content...