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) -> UnknownFieldsIter<'s>
Trait Implementations
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
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 Eq for UnknownFields
[src]
impl Debug for UnknownFields
[src]
impl Default for UnknownFields
[src]
fn default() -> UnknownFields
Returns the "default value" for a type. Read more
impl Clear for UnknownFields
[src]
fn clear(&mut self)
impl<'a> IntoIterator for &'a UnknownFields
[src]
type Item = (u32, &'a UnknownValues)
The type of the elements being iterated over.
type IntoIter = UnknownFieldsIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> UnknownFieldsIter<'a>
Creates an iterator from a value. Read more