pub struct DraftList {
pub count: u64,
pub drafts: Vec<Draft>,
pub next_page_token: Option<String>,
}Expand description
One page of drafts from [Client::list_drafts_page].
Fields§
§count: u64Total drafts in the inbox (not just this page).
drafts: Vec<Draft>This page of drafts.
next_page_token: Option<String>Cursor for the next page; None on the last page.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DraftList
impl<'de> Deserialize<'de> for DraftList
Source§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
Auto Trait Implementations§
impl Freeze for DraftList
impl RefUnwindSafe for DraftList
impl Send for DraftList
impl Sync for DraftList
impl Unpin for DraftList
impl UnsafeUnpin for DraftList
impl UnwindSafe for DraftList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more