Struct protobuf::descriptor::EnumValueOptions
[−]
[src]
pub struct EnumValueOptions { /* fields omitted */ }
Methods
impl EnumValueOptions
[src]
fn new() -> EnumValueOptions
fn default_instance() -> &'static EnumValueOptions
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 self
) -> &mut RepeatedField<UninterpretedOption>
fn take_uninterpreted_option(&mut self) -> RepeatedField<UninterpretedOption>
fn get_uninterpreted_option(&self) -> &[UninterpretedOption]
Trait Implementations
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 !=
.
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 Default for EnumValueOptions
[src]
fn default() -> EnumValueOptions
Returns the "default value" for a type. Read more
impl Sync for EnumValueOptions
[src]
impl Message for EnumValueOptions
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>