pub struct DialogsSlice {
pub count: i32,
pub dialogs: Vec<Dialog>,
pub messages: Vec<Message>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
Generated from:
messages.dialogsSlice#71e094f3 count:int dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.DialogsFields§
§count: i32§dialogs: Vec<Dialog>§messages: Vec<Message>§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for DialogsSlice
impl Clone for DialogsSlice
Source§fn clone(&self) -> DialogsSlice
fn clone(&self) -> DialogsSlice
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 DialogsSlice
impl Debug for DialogsSlice
Source§impl Deserializable for DialogsSlice
impl Deserializable for DialogsSlice
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<DialogsSlice> for Dialogs
impl From<DialogsSlice> for Dialogs
Source§fn from(x: DialogsSlice) -> Self
fn from(x: DialogsSlice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DialogsSlice
impl Identifiable for DialogsSlice
Source§const CONSTRUCTOR_ID: u32 = 0x71e094f3
const CONSTRUCTOR_ID: u32 = 0x71e094f3
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DialogsSlice
impl PartialEq for DialogsSlice
Source§impl Serializable for DialogsSlice
impl Serializable for DialogsSlice
Source§impl TryFrom<Dialogs> for DialogsSlice
impl TryFrom<Dialogs> for DialogsSlice
impl StructuralPartialEq for DialogsSlice
Auto Trait Implementations§
impl Freeze for DialogsSlice
impl RefUnwindSafe for DialogsSlice
impl Send for DialogsSlice
impl Sync for DialogsSlice
impl Unpin for DialogsSlice
impl UnsafeUnpin for DialogsSlice
impl UnwindSafe for DialogsSlice
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