Struct protobuf::descriptor::FieldOptions
[−]
[src]
pub struct FieldOptions { /* fields omitted */ }Methods
impl FieldOptions[src]
fn new() -> FieldOptions
fn default_instance() -> &'static FieldOptions
fn clear_ctype(&mut self)
fn has_ctype(&self) -> bool
fn set_ctype(&mut self, v: FieldOptions_CType)
fn get_ctype(&self) -> FieldOptions_CType
fn clear_packed(&mut self)
fn has_packed(&self) -> bool
fn set_packed(&mut self, v: bool)
fn get_packed(&self) -> bool
fn clear_jstype(&mut self)
fn has_jstype(&self) -> bool
fn set_jstype(&mut self, v: FieldOptions_JSType)
fn get_jstype(&self) -> FieldOptions_JSType
fn clear_lazy(&mut self)
fn has_lazy(&self) -> bool
fn set_lazy(&mut self, v: bool)
fn get_lazy(&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_weak(&mut self)
fn has_weak(&self) -> bool
fn set_weak(&mut self, v: bool)
fn get_weak(&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 FieldOptions[src]
fn eq(&self, __arg_0: &FieldOptions) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FieldOptions) -> bool
This method tests for !=.
impl Clone for FieldOptions[src]
fn clone(&self) -> FieldOptions
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 FieldOptions[src]
fn default() -> FieldOptions
Returns the "default value" for a type. Read more
impl Sync for FieldOptions[src]
impl Message for FieldOptions[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<()>
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 descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn write_length_delimited_to(&self,
os: &mut CodedOutputStream)
-> ProtobufResult<()>
os: &mut CodedOutputStream)
-> ProtobufResult<()>