Struct protobuf::descriptor::UninterpretedOption [−][src]
pub struct UninterpretedOption { pub unknown_fields: UnknownFields, // some fields omitted }
Fields
unknown_fields: UnknownFields
Methods
impl UninterpretedOption
[src]
impl UninterpretedOption
pub fn new() -> UninterpretedOption
[src]
pub fn new() -> UninterpretedOption
pub fn clear_name(&mut self)
[src]
pub fn clear_name(&mut self)
pub fn set_name(&mut self, v: RepeatedField<UninterpretedOption_NamePart>)
[src]
pub fn set_name(&mut self, v: RepeatedField<UninterpretedOption_NamePart>)
pub fn mut_name(&mut self) -> &mut RepeatedField<UninterpretedOption_NamePart>
[src]
pub fn mut_name(&mut self) -> &mut RepeatedField<UninterpretedOption_NamePart>
pub fn take_name(&mut self) -> RepeatedField<UninterpretedOption_NamePart>
[src]
pub fn take_name(&mut self) -> RepeatedField<UninterpretedOption_NamePart>
pub fn get_name(&self) -> &[UninterpretedOption_NamePart]
[src]
pub fn get_name(&self) -> &[UninterpretedOption_NamePart]
pub fn clear_identifier_value(&mut self)
[src]
pub fn clear_identifier_value(&mut self)
pub fn has_identifier_value(&self) -> bool
[src]
pub fn has_identifier_value(&self) -> bool
pub fn set_identifier_value(&mut self, v: String)
[src]
pub fn set_identifier_value(&mut self, v: String)
pub fn mut_identifier_value(&mut self) -> &mut String
[src]
pub fn mut_identifier_value(&mut self) -> &mut String
pub fn take_identifier_value(&mut self) -> String
[src]
pub fn take_identifier_value(&mut self) -> String
pub fn get_identifier_value(&self) -> &str
[src]
pub fn get_identifier_value(&self) -> &str
pub fn clear_positive_int_value(&mut self)
[src]
pub fn clear_positive_int_value(&mut self)
pub fn has_positive_int_value(&self) -> bool
[src]
pub fn has_positive_int_value(&self) -> bool
pub fn set_positive_int_value(&mut self, v: u64)
[src]
pub fn set_positive_int_value(&mut self, v: u64)
pub fn get_positive_int_value(&self) -> u64
[src]
pub fn get_positive_int_value(&self) -> u64
pub fn clear_negative_int_value(&mut self)
[src]
pub fn clear_negative_int_value(&mut self)
pub fn has_negative_int_value(&self) -> bool
[src]
pub fn has_negative_int_value(&self) -> bool
pub fn set_negative_int_value(&mut self, v: i64)
[src]
pub fn set_negative_int_value(&mut self, v: i64)
pub fn get_negative_int_value(&self) -> i64
[src]
pub fn get_negative_int_value(&self) -> i64
pub fn clear_double_value(&mut self)
[src]
pub fn clear_double_value(&mut self)
pub fn has_double_value(&self) -> bool
[src]
pub fn has_double_value(&self) -> bool
pub fn set_double_value(&mut self, v: f64)
[src]
pub fn set_double_value(&mut self, v: f64)
pub fn get_double_value(&self) -> f64
[src]
pub fn get_double_value(&self) -> f64
pub fn clear_string_value(&mut self)
[src]
pub fn clear_string_value(&mut self)
pub fn has_string_value(&self) -> bool
[src]
pub fn has_string_value(&self) -> bool
pub fn set_string_value(&mut self, v: Vec<u8>)
[src]
pub fn set_string_value(&mut self, v: Vec<u8>)
pub fn mut_string_value(&mut self) -> &mut Vec<u8>
[src]
pub fn mut_string_value(&mut self) -> &mut Vec<u8>
pub fn take_string_value(&mut self) -> Vec<u8>
[src]
pub fn take_string_value(&mut self) -> Vec<u8>
pub fn get_string_value(&self) -> &[u8]
[src]
pub fn get_string_value(&self) -> &[u8]
pub fn clear_aggregate_value(&mut self)
[src]
pub fn clear_aggregate_value(&mut self)
pub fn has_aggregate_value(&self) -> bool
[src]
pub fn has_aggregate_value(&self) -> bool
pub fn set_aggregate_value(&mut self, v: String)
[src]
pub fn set_aggregate_value(&mut self, v: String)
pub fn mut_aggregate_value(&mut self) -> &mut String
[src]
pub fn mut_aggregate_value(&mut self) -> &mut String
pub fn take_aggregate_value(&mut self) -> String
[src]
pub fn take_aggregate_value(&mut self) -> String
pub fn get_aggregate_value(&self) -> &str
[src]
pub fn get_aggregate_value(&self) -> &str
Trait Implementations
impl PartialEq for UninterpretedOption
[src]
impl PartialEq for UninterpretedOption
fn eq(&self, other: &UninterpretedOption) -> bool
[src]
fn eq(&self, other: &UninterpretedOption) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UninterpretedOption) -> bool
[src]
fn ne(&self, other: &UninterpretedOption) -> bool
This method tests for !=
.
impl Clone for UninterpretedOption
[src]
impl Clone for UninterpretedOption
fn clone(&self) -> UninterpretedOption
[src]
fn clone(&self) -> UninterpretedOption
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for UninterpretedOption
[src]
impl Default for UninterpretedOption
fn default() -> UninterpretedOption
[src]
fn default() -> UninterpretedOption
Returns the "default value" for a type. Read more
impl Message for UninterpretedOption
[src]
impl Message for UninterpretedOption
fn is_initialized(&self) -> bool
[src]
fn is_initialized(&self) -> bool
True iff all required fields are initialized. Always returns true
for protobuf 3. Read more
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
Update this message object with fields read from given stream.
fn compute_size(&self) -> u32
[src]
fn compute_size(&self) -> u32
Compute and cache size of this message and all nested messages
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
Write message to the stream. Read more
fn get_cached_size(&self) -> u32
[src]
fn get_cached_size(&self) -> u32
Get size previously computed by compute_size
.
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn get_unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
fn as_any(&self) -> &Any
[src]
fn as_any(&self) -> &Any
View self as Any
.
fn as_any_mut(&mut self) -> &mut Any
[src]
fn as_any_mut(&mut self) -> &mut Any
View self as mutable Any
.
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn into_any(self: Box<Self>) -> Box<Any>
Convert boxed self to boxed Any
.
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn descriptor(&self) -> &'static MessageDescriptor
Message descriptor for this message, used for reflection.
fn new() -> UninterpretedOption
[src]
fn new() -> UninterpretedOption
Create an empty message object.
fn descriptor_static() -> &'static MessageDescriptor
[src]
fn descriptor_static() -> &'static MessageDescriptor
Get message descriptor for message type.
fn default_instance() -> &'static UninterpretedOption
[src]
fn default_instance() -> &'static UninterpretedOption
Return a pointer to default immutable message.
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
Write the message to the stream. Read more
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
Write the message to the stream prepending the message with message length encoded as varint. Read more
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> ProtobufResult<()>
[src]
fn write_length_delimited_to_vec(&self, vec: &mut Vec<u8>) -> ProtobufResult<()>
Write the message to the vec, prepend the message with message length encoded as varint. Read more
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
[src]
fn merge_from_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
Update this message object with fields read from given stream.
fn check_initialized(&self) -> ProtobufResult<()>
[src]
fn check_initialized(&self) -> ProtobufResult<()>
Check if all required fields of this object are initialized.
fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
[src]
fn write_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
Write the message to the writer.
fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> ProtobufResult<()>
Write the message to bytes vec.
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>
[src]
fn write_to_bytes(&self) -> ProtobufResult<Vec<u8>>
Write the message to bytes vec.
fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
[src]
fn write_length_delimited_to_writer(&self, w: &mut Write) -> ProtobufResult<()>
Write the message to the writer, prepend the message with message length encoded as varint. Read more
fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>
[src]
fn write_length_delimited_to_bytes(&self) -> ProtobufResult<Vec<u8>>
Write the message to the bytes vec, prepend the message with message length encoded as varint. Read more
fn type_id(&self) -> TypeId
[src]
fn type_id(&self) -> TypeId
Get type id for downcasting.
impl Clear for UninterpretedOption
[src]
impl Clear for UninterpretedOption
impl Debug for UninterpretedOption
[src]
impl Debug for UninterpretedOption
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ProtobufValue for UninterpretedOption
[src]
impl ProtobufValue for UninterpretedOption
fn as_ref(&self) -> ProtobufValueRef
[src]
fn as_ref(&self) -> ProtobufValueRef
fn as_any(&self) -> &Any
[src]
fn as_any(&self) -> &Any
fn is_non_zero(&self) -> bool
[src]
fn is_non_zero(&self) -> bool
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
[src]
fn as_ref_copy(&self) -> ProtobufValueRef<'static>
Auto Trait Implementations
impl Send for UninterpretedOption
impl Send for UninterpretedOption
impl Sync for UninterpretedOption
impl Sync for UninterpretedOption