pub fn encode_to_string<M: TextFormat>(msg: &M) -> StringAvailable on crate feature
text only.Expand description
Encode a message as a single-line textproto string.
Fields are separated by single spaces; no trailing newline.
pub fn encode_to_string<M: TextFormat>(msg: &M) -> Stringtext only.Encode a message as a single-line textproto string.
Fields are separated by single spaces; no trailing newline.