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