pub struct Participants {
pub items: Vec<User>,
pub has_more: bool,
pub total: u32,
}Expand description
Chat participants with pagination
Fields§
§items: Vec<User>List of participants
has_more: boolWhether there are more participants not included
total: u32Total number of participants in the chat
Trait Implementations§
Source§impl Clone for Participants
impl Clone for Participants
Source§fn clone(&self) -> Participants
fn clone(&self) -> Participants
Returns a duplicate of the value. Read more
1.0.0 · 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 Participants
impl Debug for Participants
Source§impl<'de> Deserialize<'de> for Participants
impl<'de> Deserialize<'de> for Participants
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 Participants
impl RefUnwindSafe for Participants
impl Send for Participants
impl Sync for Participants
impl Unpin for Participants
impl UnwindSafe for Participants
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