Struct prost_serde::BuildConfig[][src]

pub struct BuildConfig {
    pub includes: Vec<String>,
    pub files: Vec<String>,
    pub output: Option<String>,
    pub opts: Vec<BuildOption>,
}

Fields

includes: Vec<String>

protobuf include dirs

files: Vec<String>

protobuf files

output: Option<String>

dir for generated code, defaults to Cargo OUT_DIR, else the current dir

opts: Vec<BuildOption>

build options for serde support

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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.