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>, }
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
impl Clone for GetEmailsParams
[src]
fn clone(&self) -> GetEmailsParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GetEmailsParams
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,