Struct mailslurp::apis::email_controller_api::GetEmailsPaginatedParams[][src]

pub struct GetEmailsPaginatedParams {
    pub inbox_id: Option<Vec<String>>,
    pub page: Option<i32>,
    pub search_filter: Option<String>,
    pub size: Option<i32>,
    pub sort: Option<String>,
    pub unread_only: Option<bool>,
}
Expand description

struct for passing parameters to the method get_emails_paginated

Fields

inbox_id: Option<Vec<String>>

Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.

page: Option<i32>

Optional page index in email list pagination

search_filter: Option<String>

Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body

size: Option<i32>

Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results

sort: Option<String>

Optional createdAt sort direction ASC or DESC

unread_only: Option<bool>

Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly

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.