pub enum MessageFieldType {
Str,
Byte,
}
Variants§
Trait Implementations§
source§impl Clone for MessageFieldType
impl Clone for MessageFieldType
source§fn clone(&self) -> MessageFieldType
fn clone(&self) -> MessageFieldType
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 MessageFieldType
impl Debug for MessageFieldType
source§impl Ord for MessageFieldType
impl Ord for MessageFieldType
source§fn cmp(&self, other: &MessageFieldType) -> Ordering
fn cmp(&self, other: &MessageFieldType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MessageFieldType
impl PartialEq for MessageFieldType
source§fn eq(&self, other: &MessageFieldType) -> bool
fn eq(&self, other: &MessageFieldType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessageFieldType
impl PartialOrd for MessageFieldType
source§fn partial_cmp(&self, other: &MessageFieldType) -> Option<Ordering>
fn partial_cmp(&self, other: &MessageFieldType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MessageFieldType
impl Serialize for MessageFieldType
impl Eq for MessageFieldType
impl StructuralPartialEq for MessageFieldType
Auto Trait Implementations§
impl Freeze for MessageFieldType
impl RefUnwindSafe for MessageFieldType
impl Send for MessageFieldType
impl Sync for MessageFieldType
impl Unpin for MessageFieldType
impl UnwindSafe for MessageFieldType
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