Struct mailslurp::models::update_inbox_options::UpdateInboxOptions[][src]

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

UpdateInboxOptions : Options for updating inbox properties

Fields

description: Option<String>

Description of an inbox for labelling and searching purposes

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

name: Option<String>

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 UpdateInboxOptions[src]

pub fn new() -> UpdateInboxOptions[src]

Options for updating inbox properties

Trait Implementations

impl Clone for UpdateInboxOptions[src]

impl Debug for UpdateInboxOptions[src]

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

impl PartialEq<UpdateInboxOptions> for UpdateInboxOptions[src]

impl Serialize for UpdateInboxOptions[src]

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