Struct serde_protobuf::descriptor::Descriptors[][src]

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

A registry for any number of protocol buffer descriptors.

Implementations

Creates a new empty descriptor set.

Builds a descriptor set from the specified protocol buffer file descriptor set.

Looks up a message by its fully qualified name (i.e. .foo.package.Message).

Looks up an enum by its fully qualified name (i.e. .foo.package.Enum).

Adds all types defined in the specified protocol buffer file descriptor set to this registry.

Adds all types defined in the specified protocol buffer file descriptor to this registry.

Adds a message and all nested types within that message from the specified protocol buffer descriptor.

Adds a single custom built message descriptor.

Adds a single custom built enum descriptor.

Resolves all internal descriptor type references, making them cheaper to follow.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.