[][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. Time stamps are in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX e.g. 2000-10-31T01:30:00.000-05:00.

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 with the inbox ID.

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 favorited. Favouriting inboxes is typically done in the dashboard for quick access

id: Option<String>

ID of the inbox. The ID is a UUID-V4 string. See the emailAddress property for the email address.

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. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.

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

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.