Struct prost_codegen::google::protobuf::EnumValueOptions
[−]
[src]
pub struct EnumValueOptions { pub deprecated: Option<bool>, pub uninterpreted_option: Vec<UninterpretedOption>, }
Fields
deprecated: Option<bool>
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.
uninterpreted_option: Vec<UninterpretedOption>
The parser stores options it doesn't recognize here. See above.
Methods
impl EnumValueOptions
[src]
fn deprecated(&mut self) -> &mut bool
Trait Implementations
impl Clone for EnumValueOptions
[src]
fn clone(&self) -> EnumValueOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for EnumValueOptions
[src]
impl PartialEq for EnumValueOptions
[src]
fn eq(&self, __arg_0: &EnumValueOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnumValueOptions) -> bool
This method tests for !=
.