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 UnknownValuespub 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 UnknownValuesfn clone(&self) -> UnknownValues[src]
fn clone(&self) -> UnknownValuesReturns 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 UnknownValuesfn eq(&self, other: &UnknownValues) -> bool[src]
fn eq(&self, other: &UnknownValues) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for UnknownValues[src]
impl Eq for UnknownValuesimpl Debug for UnknownValues[src]
impl Debug for UnknownValuesfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for UnknownValues[src]
impl Default for UnknownValuesfn default() -> UnknownValues[src]
fn default() -> UnknownValuesReturns the "default value" for a type. Read more
impl<'a> IntoIterator for &'a UnknownValues[src]
impl<'a> IntoIterator for &'a UnknownValuestype 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 UnknownValuesimpl Sync for UnknownValues
impl Sync for UnknownValues