Enum serde_protobuf::value::Field [−][src]
Expand description
A message field value.
Variants
Singular(Option<Value>)
A field with a single value.
Repeated(Vec<Value>)
A field with several (repeated) values.
Implementations
Creates a field given a Protobuf descriptor.
pub fn merge_from(
&mut self,
descriptors: &Descriptors,
field: &FieldDescriptor,
input: &mut CodedInputStream<'_>,
wire_type: WireType
) -> Result<()>
pub fn merge_from(
&mut self,
descriptors: &Descriptors,
field: &FieldDescriptor,
input: &mut CodedInputStream<'_>,
wire_type: WireType
) -> Result<()>
Merge data from the given input stream into this field.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Field
impl UnwindSafe for Field
Blanket Implementations
Mutably borrows from an owned value. Read more