[][src]Struct mailslurp::models::page_email_preview::PageEmailPreview

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<Pageable>,
    pub size: Option<i32>,
    pub sort: Option<Sort>,
    pub total_elements: Option<i64>,
    pub total_pages: Option<i32>,
}

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<Pageable>size: Option<i32>sort: Option<Sort>total_elements: Option<i64>total_pages: Option<i32>

Implementations

impl PageEmailPreview[src]

pub fn new() -> PageEmailPreview[src]

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

impl Clone for PageEmailPreview[src]

impl Debug for PageEmailPreview[src]

impl<'de> Deserialize<'de> for PageEmailPreview[src]

impl PartialEq<PageEmailPreview> for PageEmailPreview[src]

impl Serialize for PageEmailPreview[src]

impl StructuralPartialEq for PageEmailPreview[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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.