tokio-rs / prost

PROST! a Protocol Buffers implementation for the Rust Language
Apache License 2.0
3.92k stars 504 forks source link

How i can get `full_name` of a Message? #930

Closed beautyfree closed 5 months ago

beautyfree commented 1 year ago

For example https://protobuf.dev/reference/cpp/api-docs/google.protobuf.descriptor/#Descriptor.full_name.details

caspermeijn commented 8 months ago

You are looking for the Name trait: https://docs.rs/prost/latest/prost/trait.Name.html