Struct serde_protobuf::descriptor::MessageDescriptor[][src]

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

A descriptor for a single protocol buffer message type.

Implementations

Creates a new message descriptor with the specified message name.

Reads a message descriptor from a parsed Protobuf descriptor.

All of the fields in the descriptor.

The name of the message.

Finds a field by field name.

Finds a field by field number.

Adds a new field to the descriptor.

Trait Implementations

Formats the value using the given formatter. Read more

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.