pub struct MessagePage {
pub messages: Vec<Message>,
pub next_page: Option<bool>,
}Expand description
One page of messages within a conversation.
Fields§
§messages: Vec<Message>Messages, newest first.
next_page: Option<bool>Whether more pages exist.
Trait Implementations§
Source§impl Clone for MessagePage
impl Clone for MessagePage
Source§fn clone(&self) -> MessagePage
fn clone(&self) -> MessagePage
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 moreAuto Trait Implementations§
impl Freeze for MessagePage
impl RefUnwindSafe for MessagePage
impl Send for MessagePage
impl Sync for MessagePage
impl Unpin for MessagePage
impl UnsafeUnpin for MessagePage
impl UnwindSafe for MessagePage
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