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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.