[−][src]Struct protobuf::UnknownFields
Fields
fields: Option<Box<HashMap<u32, UnknownValues>>>
Methods
impl UnknownFields
[src]
impl UnknownFields
pub fn new() -> UnknownFields | [src] |
pub fn add_fixed32(&mut self, number: u32, fixed32: u32) | [src] |
pub fn add_fixed64(&mut self, number: u32, fixed64: u64) | [src] |
pub fn add_varint(&mut self, number: u32, varint: u64) | [src] |
pub fn add_length_delimited(&mut self, number: u32, length_delimited: Vec<u8>) | [src] |
pub fn add_value(&mut self, number: u32, value: UnknownValue) | [src] |
ⓘImportant traits for UnknownFieldsIter<'s>
ⓘImportant traits for UnknownFieldsIter<'s>
pub fn iter<'s>(&'s self) -> UnknownFieldsIter<'s> | [src] |
pub fn get(&self, field_number: u32) -> Option<&UnknownValues> | [src] |
Trait Implementations
impl Clear for UnknownFields
[src]
impl Clear for UnknownFields
impl PartialEq<UnknownFields> for UnknownFields
[src]
impl PartialEq<UnknownFields> for UnknownFields
fn eq(&self, other: &UnknownFields) -> bool | [src] |
fn ne(&self, other: &UnknownFields) -> bool | [src] |
impl Eq for UnknownFields
[src]
impl Eq for UnknownFields
impl Clone for UnknownFields
[src]
impl Clone for UnknownFields
fn clone(&self) -> UnknownFields | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl Default for UnknownFields
[src]
impl Default for UnknownFields
fn default() -> UnknownFields | [src] |
impl<'a> IntoIterator for &'a UnknownFields
[src]
impl<'a> IntoIterator for &'a UnknownFields
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?
ⓘImportant traits for UnknownFieldsIter<'s>
ⓘImportant traits for UnknownFieldsIter<'s>
fn into_iter(self) -> UnknownFieldsIter<'a> | [src] |
impl Debug for UnknownFields
[src]
impl Debug for UnknownFields
Auto Trait Implementations
impl Send for UnknownFields
impl Send for UnknownFields
impl Sync for UnknownFields
impl Sync for UnknownFields
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |