Struct protobuf::descriptor::EnumOptions
[−]
[src]
pub struct EnumOptions { /* fields omitted */ }
Methods
impl EnumOptions
[src]
fn new() -> EnumOptions
fn default_instance() -> &'static EnumOptions
fn clear_allow_alias(&mut self)
fn has_allow_alias(&self) -> bool
fn set_allow_alias(&mut self, v: bool)
fn get_allow_alias(&self) -> bool
fn clear_deprecated(&mut self)
fn has_deprecated(&self) -> bool
fn set_deprecated(&mut self, v: bool)
fn get_deprecated(&self) -> bool
fn clear_uninterpreted_option(&mut self)
fn set_uninterpreted_option(&mut self, v: RepeatedField<UninterpretedOption>)
fn mut_uninterpreted_option(&mut self)
-> &mut RepeatedField<UninterpretedOption>
-> &mut RepeatedField<UninterpretedOption>
fn take_uninterpreted_option(&mut self) -> RepeatedField<UninterpretedOption>
fn get_uninterpreted_option(&self) -> &[UninterpretedOption]
Trait Implementations
impl PartialEq for EnumOptions
[src]
fn eq(&self, __arg_0: &EnumOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnumOptions) -> bool
This method tests for !=
.
impl Clone for EnumOptions
[src]
fn clone(&self) -> EnumOptions
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 Default for EnumOptions
[src]
fn default() -> EnumOptions
Returns the "default value" for a type. Read more