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

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

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

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

impl Clone for GetEmailsPaginatedParams[src]

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