pub enum OptionalAlias {
Alias(String),
}Variants
Alias(String)
Implementations
sourceimpl OptionalAlias
impl OptionalAlias
pub fn encode<B>(&self, buf: &mut B) where
B: BufMut,
pub fn merge<B>(
field: &mut Option<OptionalAlias>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
pub fn encoded_len(&self) -> usize
Trait Implementations
sourceimpl Clone for OptionalAlias
impl Clone for OptionalAlias
sourcefn clone(&self) -> OptionalAlias
fn clone(&self) -> OptionalAlias
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 more
sourceimpl Debug for OptionalAlias
impl Debug for OptionalAlias
sourceimpl PartialEq<OptionalAlias> for OptionalAlias
impl PartialEq<OptionalAlias> for OptionalAlias
sourcefn eq(&self, other: &OptionalAlias) -> bool
fn eq(&self, other: &OptionalAlias) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &OptionalAlias) -> bool
fn ne(&self, other: &OptionalAlias) -> bool
This method tests for !=.
impl StructuralPartialEq for OptionalAlias
Auto Trait Implementations
impl RefUnwindSafe for OptionalAlias
impl Send for OptionalAlias
impl Sync for OptionalAlias
impl Unpin for OptionalAlias
impl UnwindSafe for OptionalAlias
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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