pub enum MessageSubtype {
RFC822,
Global,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MessageSubtype
impl Clone for MessageSubtype
Source§fn clone(&self) -> MessageSubtype
fn clone(&self) -> MessageSubtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ContainsUtf8 for MessageSubtype
impl ContainsUtf8 for MessageSubtype
fn contains_utf8(&self) -> bool
Source§impl Debug for MessageSubtype
impl Debug for MessageSubtype
Source§impl Default for MessageSubtype
impl Default for MessageSubtype
Source§fn default() -> MessageSubtype
fn default() -> MessageSubtype
Returns the “default value” for a type. Read more
Source§impl IntoBoundedStatic for MessageSubtype
impl IntoBoundedStatic for MessageSubtype
Source§type Static = MessageSubtype
type Static = MessageSubtype
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl PartialEq for MessageSubtype
impl PartialEq for MessageSubtype
Source§fn eq(&self, other: &MessageSubtype) -> bool
fn eq(&self, other: &MessageSubtype) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageSubtype
Source§impl ToBoundedStatic for MessageSubtype
impl ToBoundedStatic for MessageSubtype
Source§impl ToString for MessageSubtype
impl ToString for MessageSubtype
Auto Trait Implementations§
impl Freeze for MessageSubtype
impl RefUnwindSafe for MessageSubtype
impl Send for MessageSubtype
impl Sync for MessageSubtype
impl Unpin for MessageSubtype
impl UnsafeUnpin for MessageSubtype
impl UnwindSafe for MessageSubtype
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