Struct serde_protobuf::value::Message [−][src]
pub struct Message {
pub fields: BTreeMap<i32, Field>,
pub unknown: UnknownFields,
}Expand description
A message value.
Fields
fields: BTreeMap<i32, Field>Known fields on the message.
unknown: UnknownFieldsUnknown fields on the message.
Implementations
Creates a message given a Protobuf descriptor.
pub fn merge_from(
&mut self,
descriptors: &Descriptors,
message: &MessageDescriptor,
input: &mut CodedInputStream<'_>
) -> Result<()>
pub fn merge_from(
&mut self,
descriptors: &Descriptors,
message: &MessageDescriptor,
input: &mut CodedInputStream<'_>
) -> Result<()>
Merge data from the given input stream into this message.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more