[][src]Struct mailslurp::models::email_projection::EmailProjection

pub struct EmailProjection {
    pub attachments: Option<Vec<String>>,
    pub bcc: Option<Vec<String>>,
    pub body_md5_hash: Option<String>,
    pub cc: Option<Vec<String>>,
    pub created_at: String,
    pub from: Option<String>,
    pub id: String,
    pub inbox_id: String,
    pub read: Option<bool>,
    pub subject: Option<String>,
    pub to: Vec<String>,
}

EmailProjection : A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the getEmail method with the email projection's ID. See EmailDto for documentation on projection properties.

Fields

attachments: Option<Vec<String>>bcc: Option<Vec<String>>body_md5_hash: Option<String>cc: Option<Vec<String>>created_at: Stringfrom: Option<String>id: Stringinbox_id: Stringread: Option<bool>subject: Option<String>to: Vec<String>

Implementations

impl EmailProjection[src]

pub fn new(
    created_at: String,
    id: String,
    inbox_id: String,
    to: Vec<String>
) -> EmailProjection
[src]

A compact representation of a full email. Used in list endpoints to keep response sizes low. Body and attachments are not included. To get all fields of the email use the getEmail method with the email projection's ID. See EmailDto for documentation on projection properties.

Trait Implementations

impl Clone for EmailProjection[src]

impl Debug for EmailProjection[src]

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

impl PartialEq<EmailProjection> for EmailProjection[src]

impl Serialize for EmailProjection[src]

impl StructuralPartialEq for EmailProjection[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.