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>, }
Expand description
Inbox : Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Use the EmailController
or the InboxController
methods to send and receive emails and attachments.
Fields
created_at: Option<String>
Expand description
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>
Expand description
Description of an inbox for labelling and searching purposes
email_address: Option<String>
Expand description
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>
Expand description
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>
Expand description
Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access or filtering
id: Option<String>
Expand description
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>
Expand description
Name of the inbox. Displayed in the dashboard for easier search
read_only: Option<bool>
Expand description
Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.
Expand description
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>
Expand description
Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/
user_id: Option<String>
Expand description
ID of user that inbox belongs to
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for Inbox
[src]
impl<'de> Deserialize<'de> for Inbox
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,