pub struct DialogsPage {
pub dialogs: Vec<DialogRecord>,
pub users: Vec<UserRecord>,
pub next_cursor: Option<String>,
}Expand description
A page of dialogs.
Fields§
§dialogs: Vec<DialogRecord>Dialogs in display order.
users: Vec<UserRecord>Users referenced by dialogs/messages in this page.
next_cursor: Option<String>Opaque cursor for the next page.
Trait Implementations§
Source§impl Clone for DialogsPage
impl Clone for DialogsPage
Source§fn clone(&self) -> DialogsPage
fn clone(&self) -> DialogsPage
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 DialogsPage
impl Debug for DialogsPage
Source§impl<'de> Deserialize<'de> for DialogsPage
impl<'de> Deserialize<'de> for DialogsPage
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
impl Eq for DialogsPage
Source§impl PartialEq for DialogsPage
impl PartialEq for DialogsPage
Source§fn eq(&self, other: &DialogsPage) -> bool
fn eq(&self, other: &DialogsPage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DialogsPage
impl Serialize for DialogsPage
impl StructuralPartialEq for DialogsPage
Auto Trait Implementations§
impl Freeze for DialogsPage
impl RefUnwindSafe for DialogsPage
impl Send for DialogsPage
impl Sync for DialogsPage
impl Unpin for DialogsPage
impl UnsafeUnpin for DialogsPage
impl UnwindSafe for DialogsPage
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