Trait prost_helper::ToJson

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

Convert the prost message to JSON string for debugging purpose. Need serde_json support.

Required Methods§

source

fn to_json(&self) -> String

Implementors§