Struct prost_codegen::google::protobuf::EnumOptions [] [src]

pub struct EnumOptions {
    pub allow_alias: Option<bool>,
    pub deprecated: Option<bool>,
    pub uninterpreted_option: Vec<UninterpretedOption>,
}

Fields

Set this option to true to allow mapping different tag names to the same value.

Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.

The parser stores options it doesn't recognize here. See above.

Methods

impl EnumOptions
[src]

Trait Implementations

impl Clone for EnumOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EnumOptions
[src]

Formats the value using the given formatter.

impl PartialEq for EnumOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.