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

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

Fields

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

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

Methods

impl EnumValueOptions
[src]

Trait Implementations

impl Clone for EnumValueOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EnumValueOptions
[src]

Formats the value using the given formatter.

impl PartialEq for EnumValueOptions
[src]

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

This method tests for !=.