Struct msg_parser::Outlook[][src]

pub struct Outlook {
    pub headers: TransportHeaders,
    pub sender: Person,
    pub to: Vec<Person>,
    pub cc: Vec<Person>,
    pub bcc: String,
    pub subject: String,
    pub body: String,
    pub rtf_compressed: String,
    pub attachments: Vec<Attachment>,
}

Fields

headers: TransportHeaderssender: Personto: Vec<Person>cc: Vec<Person>bcc: Stringsubject: Stringbody: Stringrtf_compressed: Stringattachments: Vec<Attachment>

Implementations

impl Outlook[src]

pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self, Error>[src]

pub fn from_slice(slice: &[u8]) -> Result<Self, Error>[src]

pub fn to_json(&self) -> Result<String, Error>[src]

Trait Implementations

impl Debug for Outlook[src]

impl<'de> Deserialize<'de> for Outlook[src]

impl Serialize for Outlook[src]

Auto Trait Implementations

impl RefUnwindSafe for Outlook

impl Send for Outlook

impl Sync for Outlook

impl Unpin for Outlook

impl UnwindSafe for Outlook

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.