pub struct ChatParticipantsPage {
pub participants: Vec<ChatParticipantRecord>,
pub users: Vec<UserRecord>,
}Expand description
A chat participant snapshot.
Fields§
§participants: Vec<ChatParticipantRecord>Users who currently have direct or group-derived access to the chat.
users: Vec<UserRecord>User profiles referenced by participants.
Trait Implementations§
Source§impl Clone for ChatParticipantsPage
impl Clone for ChatParticipantsPage
Source§fn clone(&self) -> ChatParticipantsPage
fn clone(&self) -> ChatParticipantsPage
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 ChatParticipantsPage
impl Debug for ChatParticipantsPage
Source§impl<'de> Deserialize<'de> for ChatParticipantsPage
impl<'de> Deserialize<'de> for ChatParticipantsPage
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 ChatParticipantsPage
Source§impl PartialEq for ChatParticipantsPage
impl PartialEq for ChatParticipantsPage
Source§impl Serialize for ChatParticipantsPage
impl Serialize for ChatParticipantsPage
impl StructuralPartialEq for ChatParticipantsPage
Auto Trait Implementations§
impl Freeze for ChatParticipantsPage
impl RefUnwindSafe for ChatParticipantsPage
impl Send for ChatParticipantsPage
impl Sync for ChatParticipantsPage
impl Unpin for ChatParticipantsPage
impl UnsafeUnpin for ChatParticipantsPage
impl UnwindSafe for ChatParticipantsPage
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