pub struct MessageList {
pub count: u64,
pub messages: Vec<Message>,
pub next_page_token: Option<String>,
}Expand description
One page of messages from list_messages_page.
Fields§
§count: u64Total messages in the inbox (not just this page).
messages: Vec<Message>This page of messages.
next_page_token: Option<String>Cursor for the next page; None on the last page.
Trait Implementations§
Source§impl Clone for MessageList
impl Clone for MessageList
Source§fn clone(&self) -> MessageList
fn clone(&self) -> MessageList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageList
impl Debug for MessageList
Source§impl<'de> Deserialize<'de> for MessageList
impl<'de> Deserialize<'de> for MessageList
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 MessageList
impl RefUnwindSafe for MessageList
impl Send for MessageList
impl Sync for MessageList
impl Unpin for MessageList
impl UnsafeUnpin for MessageList
impl UnwindSafe for MessageList
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