Struct protobuf::descriptor::OneofOptions
[−]
[src]
pub struct OneofOptions { /* fields omitted */ }
Methods
impl OneofOptions
[src]
fn new() -> OneofOptions
fn default_instance() -> &'static OneofOptions
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 OneofOptions
[src]
fn eq(&self, __arg_0: &OneofOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OneofOptions) -> bool
This method tests for !=
.
impl Clone for OneofOptions
[src]
fn clone(&self) -> OneofOptions
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 OneofOptions
[src]
fn default() -> OneofOptions
Returns the "default value" for a type. Read more