Struct protoc_rust_grpc::Args

source ·
pub struct Args<'a> {
    pub out_dir: &'a str,
    pub includes: &'a [&'a str],
    pub input: &'a [&'a str],
    pub rust_protobuf: bool,
}

Fields§

§out_dir: &'a str

–lang_out= param

§includes: &'a [&'a str]

-I args

§input: &'a [&'a str]

List of .proto files to compile

§rust_protobuf: bool

Generate rust-protobuf files along with rust-gprc

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

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.