Struct protobuf::UnknownValues
source · 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>>
Implementations§
source§impl UnknownValues
impl UnknownValues
pub fn add_value(&mut self, value: UnknownValue)
pub fn iter<'s>(&'s self) -> UnknownValuesIter<'s> ⓘ
Trait Implementations§
source§impl Clone for UnknownValues
impl Clone for UnknownValues
source§fn clone(&self) -> UnknownValues
fn clone(&self) -> UnknownValues
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnknownValues
impl Debug for UnknownValues
source§impl Default for UnknownValues
impl Default for UnknownValues
source§fn default() -> UnknownValues
fn default() -> UnknownValues
Returns the “default value” for a type. Read more
source§impl<'a> IntoIterator for &'a UnknownValues
impl<'a> IntoIterator for &'a UnknownValues
§type Item = UnknownValueRef<'a>
type Item = UnknownValueRef<'a>
The type of the elements being iterated over.
§type IntoIter = UnknownValuesIter<'a>
type IntoIter = UnknownValuesIter<'a>
Which kind of iterator are we turning this into?