pub struct Builder { /* private fields */ }

Implementations

Finds proto files to operate on in the proto_dir directory.

Add the name of an include file to the builder’s black list.

Files named on the black list are not made modules of the generated program.

If specified, a module with the given name will be generated which re-exports all generated items.

This is ignored by Prost, since Prost uses the package names of protocols in any case.

Trait Implementations

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.