Struct protobuf::UnknownValues [−][src]
pub struct UnknownValues { pub fixed32: Vec<u32>, pub fixed64: Vec<u64>, pub varint: Vec<u64>, pub length_delimited: Vec<Vec<u8>>, }
Fields
fixed32: Vec<u32>
fixed64: Vec<u64>
varint: Vec<u64>
length_delimited: Vec<Vec<u8>>
Methods
impl UnknownValues
[src]
impl UnknownValues
pub fn add_value(&mut self, value: UnknownValue)
[src]
pub fn add_value(&mut self, value: UnknownValue)
ⓘImportant traits for UnknownValuesIter<'o>pub fn iter<'s>(&'s self) -> UnknownValuesIter<'s>
[src]
ⓘImportant traits for UnknownValuesIter<'o>
pub fn iter<'s>(&'s self) -> UnknownValuesIter<'s>
Trait Implementations
impl Clone for UnknownValues
[src]
impl Clone for UnknownValues
fn clone(&self) -> UnknownValues
[src]
fn clone(&self) -> UnknownValues
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for UnknownValues
[src]
impl PartialEq for UnknownValues
fn eq(&self, other: &UnknownValues) -> bool
[src]
fn eq(&self, other: &UnknownValues) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &UnknownValues) -> bool
[src]
fn ne(&self, other: &UnknownValues) -> bool
This method tests for !=
.
impl Eq for UnknownValues
[src]
impl Eq for UnknownValues
impl Debug for UnknownValues
[src]
impl Debug for UnknownValues
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for UnknownValues
[src]
impl Default for UnknownValues
fn default() -> UnknownValues
[src]
fn default() -> UnknownValues
Returns the "default value" for a type. Read more
impl<'a> IntoIterator for &'a UnknownValues
[src]
impl<'a> IntoIterator for &'a UnknownValues
type Item = UnknownValueRef<'a>
The type of the elements being iterated over.
type IntoIter = UnknownValuesIter<'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for UnknownValuesIter<'o>fn into_iter(self) -> UnknownValuesIter<'a>
[src]
ⓘImportant traits for UnknownValuesIter<'o>
fn into_iter(self) -> UnknownValuesIter<'a>
Creates an iterator from a value. Read more
Auto Trait Implementations
impl Send for UnknownValues
impl Send for UnknownValues
impl Sync for UnknownValues
impl Sync for UnknownValues