Struct protobuf::well_known_types::Struct
[−]
[src]
pub struct Struct { pub fields: HashMap<String, Value>, // some fields omitted }
Fields
fields: HashMap<String, Value>
Methods
impl Struct
[src]
fn new() -> Struct
fn default_instance() -> &'static Struct
fn clear_fields(&mut self)
fn set_fields(&mut self, v: HashMap<String, Value>)
fn mut_fields(&mut self) -> &mut HashMap<String, Value>
fn take_fields(&mut self) -> HashMap<String, Value>
fn get_fields(&self) -> &HashMap<String, Value>
Trait Implementations
impl PartialEq for Struct
[src]
fn eq(&self, __arg_0: &Struct) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Struct) -> bool
This method tests for !=
.
impl Clone for Struct
[src]
fn clone(&self) -> Struct
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 Struct
[src]
impl Sync for Struct
[src]
impl Message for Struct
[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<()>