Struct protobuf::reflect::MessageDescriptor[][src]

pub struct MessageDescriptor { /* fields omitted */ }
Expand description

Dynamic message type

Implementations

Get underlying DescriptorProto object.

Get a message descriptor for given message type

New empty message

Message name as given in .proto file

Fully qualified protobuf message name

Message field descriptors.

Find message field by protobuf field name

Note: protobuf field name might be different for Rust field name.

Find message field by field name or field JSON name

Find message field by field name

Find field by name

Find field by number

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.