Struct mailslurp::models::page_email_preview::PageEmailPreview [−][src]
pub struct PageEmailPreview { pub content: Option<Vec<EmailPreview>>, pub empty: Option<bool>, pub first: Option<bool>, pub last: Option<bool>, pub number: Option<i32>, pub number_of_elements: Option<i32>, pub pageable: Option<Box<Pageable>>, pub size: Option<i32>, pub sort: Option<Box<Sort>>, pub total_elements: Option<i64>, pub total_pages: Option<i32>, }
Expand description
PageEmailPreview : Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.
Fields
content: Option<Vec<EmailPreview>>
empty: Option<bool>
first: Option<bool>
last: Option<bool>
number: Option<i32>
number_of_elements: Option<i32>
pageable: Option<Box<Pageable>>
size: Option<i32>
sort: Option<Box<Sort>>
total_elements: Option<i64>
total_pages: Option<i32>
Implementations
Paginated email preview results. EmailProjections and EmailPreviews are essentially the same but have legacy naming issues. Page index starts at zero. Projection results may omit larger entity fields. For fetching a full entity use the projection ID with individual method calls. For emails there are several methods for fetching message bodies and attachments.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PageEmailPreview
impl Send for PageEmailPreview
impl Sync for PageEmailPreview
impl Unpin for PageEmailPreview
impl UnwindSafe for PageEmailPreview
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more