Struct protobuf::SpecialFields
source · [−]pub struct SpecialFields { /* private fields */ }
Expand description
Special fields included in each generated message.
Implementations
sourceimpl 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
sourceimpl Clone for SpecialFields
impl Clone for SpecialFields
sourcefn clone(&self) -> SpecialFields
fn clone(&self) -> SpecialFields
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SpecialFields
impl Debug for SpecialFields
sourceimpl Default for SpecialFields
impl Default for SpecialFields
sourcefn default() -> SpecialFields
fn default() -> SpecialFields
Returns the “default value” for a type. Read more
sourceimpl Hash for SpecialFields
impl Hash for SpecialFields
sourceimpl PartialEq<SpecialFields> for SpecialFields
impl PartialEq<SpecialFields> for SpecialFields
sourcefn eq(&self, other: &SpecialFields) -> bool
fn eq(&self, other: &SpecialFields) -> bool
impl Eq for SpecialFields
impl StructuralEq for SpecialFields
impl StructuralPartialEq for SpecialFields
Auto Trait Implementations
impl RefUnwindSafe for SpecialFields
impl Send for SpecialFields
impl Sync for SpecialFields
impl Unpin for SpecialFields
impl UnwindSafe for SpecialFields
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more