Module protobuf::text_format[][src]

Protobuf “text format” implementation.

Text format message look like this:

size: 17
color: "red"
children {
    size: 18
    color: "blue"
}
children {
    size: 19
    color: "green"
}

This format is not specified, but it is implemented by all official protobuf implementations, including protoc command which can decode and encode messages using text format.

Functions

fmt

Text-format to fmt::Formatter.

print_to

Text-format

print_to_string

Text-format