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>>, }
Expand description
Field unknown values.
See UnknownFields
for explanations.
Fields
fixed32: Vec<u32>
32-bit unknowns
fixed64: Vec<u64>
64-bit unknowns
varint: Vec<u64>
Varint unknowns
length_delimited: Vec<Vec<u8>>
Length-delimited unknowns
Implementations
Add unknown value
pub fn iter<'s>(&'s self) -> UnknownValuesIter<'s>ⓘNotable traits for UnknownValuesIter<'o>impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
pub fn iter<'s>(&'s self) -> UnknownValuesIter<'s>ⓘNotable traits for UnknownValuesIter<'o>impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
Notable traits for UnknownValuesIter<'o>
impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
Iterate over unknown values
Trait Implementations
Returns the “default value” for a type. Read more
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?
fn into_iter(self) -> UnknownValuesIter<'a>ⓘNotable traits for UnknownValuesIter<'o>impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
fn into_iter(self) -> UnknownValuesIter<'a>ⓘNotable traits for UnknownValuesIter<'o>impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
Notable traits for UnknownValuesIter<'o>
impl<'o> Iterator for UnknownValuesIter<'o> type Item = UnknownValueRef<'o>;
Creates an iterator from a value. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UnknownValues
impl Send for UnknownValues
impl Sync for UnknownValues
impl Unpin for UnknownValues
impl UnwindSafe for UnknownValues
Blanket Implementations
Mutably borrows from an owned value. Read more