Struct imap_types::envelope::Envelope
source · pub struct Envelope<'a> {
pub date: NString<'a>,
pub subject: NString<'a>,
pub from: Vec<Address<'a>>,
pub sender: Vec<Address<'a>>,
pub reply_to: Vec<Address<'a>>,
pub to: Vec<Address<'a>>,
pub cc: Vec<Address<'a>>,
pub bcc: Vec<Address<'a>>,
pub in_reply_to: NString<'a>,
pub message_id: NString<'a>,
}
Fields§
§date: NString<'a>
§subject: NString<'a>
§from: Vec<Address<'a>>
§sender: Vec<Address<'a>>
§reply_to: Vec<Address<'a>>
§to: Vec<Address<'a>>
§cc: Vec<Address<'a>>
§bcc: Vec<Address<'a>>
§in_reply_to: NString<'a>
§message_id: NString<'a>
Trait Implementations§
source§impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for Envelope<'a>
impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for Envelope<'a>
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl<'de, 'a> Deserialize<'de> for Envelope<'a>
impl<'de, 'a> Deserialize<'de> for Envelope<'a>
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
source§impl<'a> IntoBoundedStatic for Envelope<'a>
impl<'a> IntoBoundedStatic for Envelope<'a>
source§impl<'a> PartialEq<Envelope<'a>> for Envelope<'a>
impl<'a> PartialEq<Envelope<'a>> for Envelope<'a>
source§impl<'a> ToBoundedStatic for Envelope<'a>
impl<'a> ToBoundedStatic for Envelope<'a>
impl<'a> Eq for Envelope<'a>
impl<'a> StructuralEq for Envelope<'a>
impl<'a> StructuralPartialEq for Envelope<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Envelope<'a>
impl<'a> Send for Envelope<'a>
impl<'a> Sync for Envelope<'a>
impl<'a> Unpin for Envelope<'a>
impl<'a> UnwindSafe for Envelope<'a>
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