pub struct Args<'a> {
    pub out_dir: &'a str,
    pub includes: &'a [&'a str],
    pub input: &'a [&'a str],
    pub customize: Customize,
}
👎 Deprecated since 2.14:

Use Codegen instead

Expand description

Protoc --rust_out... args

Fields

out_dir: &'a str
👎 Deprecated since 2.14:

Use Codegen instead

–lang_out= param

includes: &'a [&'a str]
👎 Deprecated since 2.14:

Use Codegen instead

-I args

input: &'a [&'a str]
👎 Deprecated since 2.14:

Use Codegen instead

List of .proto files to compile

customize: Customize
👎 Deprecated since 2.14:

Use Codegen instead

Customize code generation

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.