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