Protobuf3 <-> Rust mapping

I am trying to better understand proto3 <-> Rust mapping. Is the high level bits basically:

protobuf3 message <-> Rust struct

protobuf3 enum <-> Rust u8? u16? u32? u64?

protobuf3 OneOf <-> Rust enum

protobuf3 repeated <-> Rust Vec<T>

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.