Struct grammers_client::types::chat_map::ChatMap
source · pub struct ChatMap { /* private fields */ }
Expand description
Helper structure to efficiently retrieve chats via their peer.
A lot of responses include the chats related to them in the form of a list of users
and chats, making it annoying to extract a specific chat. This structure lets you
save those separate vectors in a single place and query them by using a Peer
.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ChatMap
impl Send for ChatMap
impl Sync for ChatMap
impl Unpin for ChatMap
impl UnwindSafe for ChatMap
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