[][src]Struct mailslurp::models::inbox::Inbox

pub struct Inbox {
    pub created_at: Option<String>,
    pub description: Option<String>,
    pub email_address: Option<String>,
    pub expires_at: Option<String>,
    pub favourite: Option<bool>,
    pub id: Option<String>,
    pub name: Option<String>,
    pub tags: Option<Vec<String>>,
    pub user_id: Option<String>,
}

Inbox : Representation of an inbox with an email address. Emails can be sent to or from this email address.

Fields

created_at: Option<String>

When was the inbox created

description: Option<String>

Optional description of an inbox for labelling purposes

email_address: Option<String>

The inbox's email address. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints.

expires_at: Option<String>

When, if ever, will the inbox expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. Timestamp passed as string.

favourite: Option<bool>

Is the inbox favourited

id: Option<String>

ID of the inbox

name: Option<String>

Optional name of the inbox. Displayed in the dashboard for easier search

tags: Option<Vec<String>>

Tags that inbox has been tagged with

user_id: Option<String>

ID of user that inbox belongs to

Implementations

impl Inbox[src]

pub fn new() -> Inbox[src]

Representation of an inbox with an email address. Emails can be sent to or from this email address.

Trait Implementations

impl Clone for Inbox[src]

impl Debug for Inbox[src]

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

impl PartialEq<Inbox> for Inbox[src]

impl Serialize for Inbox[src]

impl StructuralPartialEq for Inbox[src]

Auto Trait Implementations

impl RefUnwindSafe for Inbox

impl Send for Inbox

impl Sync for Inbox

impl Unpin for Inbox

impl UnwindSafe for Inbox

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.