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§impl PartialOrd for MessageFieldType
impl PartialOrd for MessageFieldType
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more