Struct protobuf::UnknownFields
[−]
[src]
pub struct UnknownFields { pub fields: Option<Box<HashMap<u32, UnknownValues>>>, }
Fields
fields: Option<Box<HashMap<u32, UnknownValues>>>
Methods
impl UnknownFields
[src]
fn new() -> UnknownFields
fn add_fixed32(&mut self, number: u32, fixed32: u32)
fn add_fixed64(&mut self, number: u32, fixed64: u64)
fn add_varint(&mut self, number: u32, varint: u64)
fn add_length_delimited(&mut self, number: u32, length_delimited: Vec<u8>)
fn add_value(&mut self, number: u32, value: UnknownValue)
fn iter<'s>(&'s self) -> UnknownFieldIter<'s>
Trait Implementations
impl Default for UnknownFields
[src]
fn default() -> UnknownFields
Returns the "default value" for a type. Read more
impl Debug for UnknownFields
[src]
impl Eq for UnknownFields
[src]
impl PartialEq for UnknownFields
[src]
fn eq(&self, __arg_0: &UnknownFields) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UnknownFields) -> bool
This method tests for !=
.
impl Clone for UnknownFields
[src]
fn clone(&self) -> UnknownFields
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