pub struct SpecialFields { /* private fields */ }
Expand description
Special fields included in each generated message.
Implementations§
Source§impl SpecialFields
impl SpecialFields
Sourcepub const fn new() -> SpecialFields
pub const fn new() -> SpecialFields
Defaults.
Sourcepub fn cached_size(&self) -> &CachedSize
pub fn cached_size(&self) -> &CachedSize
Getter.
Sourcepub fn unknown_fields(&self) -> &UnknownFields
pub fn unknown_fields(&self) -> &UnknownFields
Getter.
Sourcepub fn mut_unknown_fields(&mut self) -> &mut UnknownFields
pub fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Setter.
Trait Implementations§
Source§impl Clone for SpecialFields
impl Clone for SpecialFields
Source§fn clone(&self) -> SpecialFields
fn clone(&self) -> SpecialFields
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 SpecialFields
impl Debug for SpecialFields
Source§impl Default for SpecialFields
impl Default for SpecialFields
Source§fn default() -> SpecialFields
fn default() -> SpecialFields
Returns the “default value” for a type. Read more
Source§impl Hash for SpecialFields
impl Hash for SpecialFields
Source§impl PartialEq for SpecialFields
impl PartialEq for SpecialFields
impl Eq for SpecialFields
impl StructuralPartialEq for SpecialFields
Auto Trait Implementations§
impl !Freeze for SpecialFields
impl RefUnwindSafe for SpecialFields
impl Send for SpecialFields
impl Sync for SpecialFields
impl Unpin for SpecialFields
impl UnwindSafe for SpecialFields
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more