Struct mailslurp::apis::inbox_controller_api::GetEmailsParams[][src]

pub struct GetEmailsParams {
    pub inbox_id: String,
    pub limit: Option<i32>,
    pub min_count: Option<i64>,
    pub retry_timeout: Option<i64>,
    pub since: Option<String>,
    pub size: Option<i32>,
    pub sort: Option<String>,
}

struct for passing parameters to the method get_emails

Fields

inbox_id: String

Id of inbox that emails belongs to

limit: Option<i32>

Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller

min_count: Option<i64>

Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached.

retry_timeout: Option<i64>

Maximum milliseconds to spend retrying inbox database until minCount emails are returned

since: Option<String>

Exclude emails received before this ISO 8601 date time

size: Option<i32>

Alias for limit. Assessed first before assessing any passed limit.

sort: Option<String>

Sort the results by received date and direction ASC or DESC

Trait Implementations

impl Clone for GetEmailsParams[src]

impl Debug for GetEmailsParams[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> 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.