Struct protobuf::descriptor::FieldOptions [] [src]

pub struct FieldOptions {
    // some 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<'a>(&self) -> FieldOptions_CType

fn clear_packed(&mut self)

fn has_packed(&self) -> bool

fn set_packed(&mut self, v: bool)

fn get_packed<'a>(&self) -> bool

fn clear_lazy(&mut self)

fn has_lazy(&self) -> bool

fn set_lazy(&mut self, v: bool)

fn get_lazy<'a>(&self) -> bool

fn clear_deprecated(&mut self)

fn has_deprecated(&self) -> bool

fn set_deprecated(&mut self, v: bool)

fn get_deprecated<'a>(&self) -> bool

fn clear_experimental_map_key(&mut self)

fn has_experimental_map_key(&self) -> bool

fn set_experimental_map_key(&mut self, v: String)

fn mut_experimental_map_key<'a>(&'a mut self) -> &'a mut String

fn take_experimental_map_key(&mut self) -> String

fn get_experimental_map_key<'a>(&'a self) -> &'a str

fn clear_weak(&mut self)

fn has_weak(&self) -> bool

fn set_weak(&mut self, v: bool)

fn get_weak<'a>(&self) -> bool

fn clear_uninterpreted_option(&mut self)

fn set_uninterpreted_option(&mut self, v: RepeatedField<UninterpretedOption>)

fn mut_uninterpreted_option<'a>(&'a mut self) -> &'a mut RepeatedField<UninterpretedOption>

fn take_uninterpreted_option(&mut self) -> RepeatedField<UninterpretedOption>

fn get_uninterpreted_option<'a>(&'a self) -> &'a [UninterpretedOption]

Trait Implementations

impl Default for FieldOptions
[src]

fn default() -> FieldOptions

Returns the "default value" for a type. Read more

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 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<()>

fn get_cached_size(&self) -> u32

fn get_unknown_fields<'s>(&'s self) -> &'s UnknownFields

fn mut_unknown_fields<'s>(&'s mut self) -> &'s 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<()>

fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>

fn check_initialized(&self)

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 FieldOptions
[src]

impl Clear for FieldOptions
[src]

fn clear(&mut self)

impl PartialEq for FieldOptions
[src]

fn eq(&self, other: &FieldOptions) -> 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 !=.

impl Debug for FieldOptions
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.