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>>,
}
Expand description

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 a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering

name: Option<String>

Name of the inbox and used as the sender name when sending emails .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

Options for updating inbox properties

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.