pub struct SavedDialogsSlice {
pub count: i32,
pub dialogs: Vec<SavedDialog>,
pub messages: Vec<Message>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
}Expand description
Generated from:
messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> = messages.SavedDialogsFields§
§count: i32§dialogs: Vec<SavedDialog>§messages: Vec<Message>§chats: Vec<Chat>§users: Vec<User>Trait Implementations§
Source§impl Clone for SavedDialogsSlice
impl Clone for SavedDialogsSlice
Source§fn clone(&self) -> SavedDialogsSlice
fn clone(&self) -> SavedDialogsSlice
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 SavedDialogsSlice
impl Debug for SavedDialogsSlice
Source§impl Deserializable for SavedDialogsSlice
impl Deserializable for SavedDialogsSlice
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<SavedDialogsSlice> for SavedDialogs
impl From<SavedDialogsSlice> for SavedDialogs
Source§fn from(x: SavedDialogsSlice) -> Self
fn from(x: SavedDialogsSlice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SavedDialogsSlice
impl Identifiable for SavedDialogsSlice
Source§const CONSTRUCTOR_ID: u32 = 0x44ba9dd9
const CONSTRUCTOR_ID: u32 = 0x44ba9dd9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SavedDialogsSlice
impl PartialEq for SavedDialogsSlice
Source§impl Serializable for SavedDialogsSlice
impl Serializable for SavedDialogsSlice
Source§impl TryFrom<SavedDialogs> for SavedDialogsSlice
impl TryFrom<SavedDialogs> for SavedDialogsSlice
Source§type Error = SavedDialogs
type Error = SavedDialogs
The type returned in the event of a conversion error.
impl StructuralPartialEq for SavedDialogsSlice
Auto Trait Implementations§
impl Freeze for SavedDialogsSlice
impl RefUnwindSafe for SavedDialogsSlice
impl Send for SavedDialogsSlice
impl Sync for SavedDialogsSlice
impl Unpin for SavedDialogsSlice
impl UnsafeUnpin for SavedDialogsSlice
impl UnwindSafe for SavedDialogsSlice
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