Struct protobuf::well_known_types::Value
[−]
[src]
pub struct Value { /* fields omitted */ }
Methods
impl Value
[src]
fn new() -> Value
fn default_instance() -> &'static Value
fn clear_null_value(&mut self)
fn has_null_value(&self) -> bool
fn set_null_value(&mut self, v: NullValue)
fn get_null_value(&self) -> NullValue
fn clear_number_value(&mut self)
fn has_number_value(&self) -> bool
fn set_number_value(&mut self, v: f64)
fn get_number_value(&self) -> f64
fn clear_string_value(&mut self)
fn has_string_value(&self) -> bool
fn set_string_value(&mut self, v: String)
fn mut_string_value(&mut self) -> &mut String
fn take_string_value(&mut self) -> String
fn get_string_value(&self) -> &str
fn clear_bool_value(&mut self)
fn has_bool_value(&self) -> bool
fn set_bool_value(&mut self, v: bool)
fn get_bool_value(&self) -> bool
fn clear_struct_value(&mut self)
fn has_struct_value(&self) -> bool
fn set_struct_value(&mut self, v: Struct)
fn mut_struct_value(&mut self) -> &mut Struct
fn take_struct_value(&mut self) -> Struct
fn get_struct_value(&self) -> &Struct
fn clear_list_value(&mut self)
fn has_list_value(&self) -> bool
fn set_list_value(&mut self, v: ListValue)
fn mut_list_value(&mut self) -> &mut ListValue
fn take_list_value(&mut self) -> ListValue
fn get_list_value(&self) -> &ListValue
Trait Implementations
impl PartialEq for Value
[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=
.
impl Clone for Value
[src]
fn clone(&self) -> Value
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 Value
[src]
impl Sync for Value
[src]
impl Message for Value
[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<()>
&self,
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 as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> ProtobufResult<()>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>