pub enum EnvelopePart {
From,
To,
}Expand description
Which SMTP envelope value an envelope test
reads (RFC 5228 §5.1 string-list "from" / "to").
Variants§
Trait Implementations§
Source§impl Clone for EnvelopePart
impl Clone for EnvelopePart
Source§fn clone(&self) -> EnvelopePart
fn clone(&self) -> EnvelopePart
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 moreimpl Copy for EnvelopePart
Source§impl Debug for EnvelopePart
impl Debug for EnvelopePart
Source§impl<'de> Deserialize<'de> for EnvelopePart
impl<'de> Deserialize<'de> for EnvelopePart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnvelopePart
Source§impl PartialEq for EnvelopePart
impl PartialEq for EnvelopePart
Source§impl Serialize for EnvelopePart
impl Serialize for EnvelopePart
impl StructuralPartialEq for EnvelopePart
Auto Trait Implementations§
impl Freeze for EnvelopePart
impl RefUnwindSafe for EnvelopePart
impl Send for EnvelopePart
impl Sync for EnvelopePart
impl Unpin for EnvelopePart
impl UnsafeUnpin for EnvelopePart
impl UnwindSafe for EnvelopePart
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