Struct protobuf::descriptor::MessageOptions
[−]
[src]
pub struct MessageOptions { /* fields omitted */ }
Methods
impl MessageOptions
[src]
fn new() -> MessageOptions
fn default_instance() -> &'static MessageOptions
fn clear_message_set_wire_format(&mut self)
fn has_message_set_wire_format(&self) -> bool
fn set_message_set_wire_format(&mut self, v: bool)
fn get_message_set_wire_format(&self) -> bool
fn clear_no_standard_descriptor_accessor(&mut self)
fn has_no_standard_descriptor_accessor(&self) -> bool
fn set_no_standard_descriptor_accessor(&mut self, v: bool)
fn get_no_standard_descriptor_accessor(&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_map_entry(&mut self)
fn has_map_entry(&self) -> bool
fn set_map_entry(&mut self, v: bool)
fn get_map_entry(&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 Clone for MessageOptions
[src]
fn clone(&self) -> MessageOptions
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 MessageOptions
[src]
fn default() -> MessageOptions
Returns the "default value" for a type. Read more
impl Sync for MessageOptions
[src]
impl Message for MessageOptions
[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 type_id(&self) -> TypeId
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<()>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
fn check_initialized(&self) -> ProtobufResult<()>
fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>
fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>
impl MessageStatic for MessageOptions
[src]
fn new() -> MessageOptions
fn descriptor_static(_: Option<MessageOptions>) -> &'static MessageDescriptor
impl Clear for MessageOptions
[src]
fn clear(&mut self)
impl PartialEq for MessageOptions
[src]
fn eq(&self, other: &MessageOptions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.