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

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 read_only: Option<bool>,
    pub tags: Option<Vec<String>>,
    pub team_access: Option<bool>,
    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 the inbox was 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>

Description of an inbox for labelling and searching purposes

email_address: Option<String>

The inbox’s email address. Inbox projections and previews may not include the email address. To view the email address fetch the inbox entity directly. Send an email to this address and the inbox will receive and store it for you. Note the email address in MailSlurp match characters exactly and are case sensitive so +123 additions are considered different addresses. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.

expires_at: Option<String>

Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won’t be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.

favourite: Option<bool>

Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access or filtering

id: Option<String>

ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods waitForLatestEmail and getEmails methods respectively. Inboxes can be used with aliases to forward emails automatically.

name: Option<String>

Name of the inbox. Displayed in the dashboard for easier search

read_only: Option<bool>

Is the inbox readOnly for the caller. Read only means can not be deleted or modified.

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.

team_access: Option<bool>

Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it.

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.