pub struct ChatsSlice {
pub count: i32,
pub chats: Vec<Chat>,
}Expand description
Generated from:
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.ChatsFields§
§count: i32§chats: Vec<Chat>Trait Implementations§
Source§impl Clone for ChatsSlice
impl Clone for ChatsSlice
Source§fn clone(&self) -> ChatsSlice
fn clone(&self) -> ChatsSlice
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 ChatsSlice
impl Debug for ChatsSlice
Source§impl Deserializable for ChatsSlice
impl Deserializable for ChatsSlice
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatsSlice> for Chats
impl From<ChatsSlice> for Chats
Source§fn from(x: ChatsSlice) -> Self
fn from(x: ChatsSlice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatsSlice
impl Identifiable for ChatsSlice
Source§const CONSTRUCTOR_ID: u32 = 0x9cd81144
const CONSTRUCTOR_ID: u32 = 0x9cd81144
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatsSlice
impl PartialEq for ChatsSlice
Source§impl Serializable for ChatsSlice
impl Serializable for ChatsSlice
Source§impl TryFrom<Chats> for ChatsSlice
impl TryFrom<Chats> for ChatsSlice
impl StructuralPartialEq for ChatsSlice
Auto Trait Implementations§
impl Freeze for ChatsSlice
impl RefUnwindSafe for ChatsSlice
impl Send for ChatsSlice
impl Sync for ChatsSlice
impl Unpin for ChatsSlice
impl UnsafeUnpin for ChatsSlice
impl UnwindSafe for ChatsSlice
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