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
Auto Trait Implementations
impl RefUnwindSafe for GetEmailsPaginatedParams
impl Send for GetEmailsPaginatedParams
impl Sync for GetEmailsPaginatedParams
impl Unpin for GetEmailsPaginatedParams
impl UnwindSafe for GetEmailsPaginatedParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more