[][src]Struct mailslurp::models::create_inbox_dto::CreateInboxDto

pub struct CreateInboxDto {
    pub description: Option<String>,
    pub email_address: Option<String>,
    pub expires_at: Option<String>,
    pub favourite: Option<bool>,
    pub name: Option<String>,
    pub tags: Option<Vec<String>>,
}

Fields

description: Option<String>

Optional description of an inbox for labelling purposes

email_address: Option<String>

Optionally specify an email address you want the inbox to have. When left blank an email address will be randomly assigned to the inbox usually ending in @mailslurp.com. Custom email addresses must include your own custom domain that you have configured in MailSlurp. So if your domain is mysite.com you can created any email address ending in @mysite.com. All email addresses are transformed to lowercase!

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

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.

Implementations

impl CreateInboxDto[src]

Trait Implementations

impl Clone for CreateInboxDto[src]

impl Debug for CreateInboxDto[src]

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

impl PartialEq<CreateInboxDto> for CreateInboxDto[src]

impl Serialize for CreateInboxDto[src]

impl StructuralPartialEq for CreateInboxDto[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.