source_demo_tool/demo_file/packet/
protobuf_value.rs

1pub type ProtobufField = (&'static str, ProtobufValue);
2
3pub enum ProtobufValue {
4    None,
5    VarInt(u64),
6    Length(Vec<u8>),
7    String(String),
8    Fixed32(u32),
9    Float32(f32),
10    Proto(Vec<ProtobufField>),
11    Repeated(Vec<ProtobufValue>),
12}