Mail

Struct Mail 

Source
pub struct Mail {
Show 31 fields pub auth_status: String, pub attachments: Vec<(String, String)>, pub bucket_key: (), pub body: String, pub bcc_recipients: Vec<Sender>, pub cc_recipients: Vec<Sender>, pub confidential: Base64, pub conversation_entry: (String, String), pub different_envelope_sender: Option<String>, pub first_recipient: Sender, pub headers: Option<String>, pub id: (String, String), pub list_unsubscribe: Base64, pub mail_details: (), pub mail_details_draft: (), pub method: Base64, pub moved_time: String, pub owner_enc_session_key: Option<Aes128Key>, pub owner_group: String, pub permissions: Id, pub phishing_status: String, pub received_date: String, pub recipient_count: String, pub reply_tos: Vec<Sender>, pub reply_type: String, pub sent_date: String, pub sender: Sender, pub state: String, pub subject: Base64, pub to_recipients: Vec<Sender>, pub read_status: ReadStatus, /* private fields */
}

Fields§

§auth_status: String§attachments: Vec<(String, String)>§bucket_key: ()§body: String§bcc_recipients: Vec<Sender>§cc_recipients: Vec<Sender>§confidential: Base64§conversation_entry: (String, String)§different_envelope_sender: Option<String>§first_recipient: Sender§headers: Option<String>§id: (String, String)§list_unsubscribe: Base64§mail_details: ()§mail_details_draft: ()§method: Base64§moved_time: String§owner_enc_session_key: Option<Aes128Key>§owner_group: String§permissions: Id§phishing_status: String§received_date: String§recipient_count: String§reply_tos: Vec<Sender>§reply_type: String§sent_date: String§sender: Sender§state: String§subject: Base64§to_recipients: Vec<Sender>§read_status: ReadStatus

Trait Implementations§

Source§

impl Debug for Mail

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Mail

Source§

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 Serialize for Mail

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Mail

§

impl RefUnwindSafe for Mail

§

impl Send for Mail

§

impl Sync for Mail

§

impl Unpin for Mail

§

impl UnwindSafe for Mail

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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