pub struct PeerDialogs {
pub dialogs: Vec<Dialog>,
pub messages: Vec<Message>,
pub chats: Vec<Chat>,
pub users: Vec<User>,
pub state: State,
}Expand description
Generated from:
messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogsFields§
§dialogs: Vec<Dialog>§messages: Vec<Message>§chats: Vec<Chat>§users: Vec<User>§state: StateTrait Implementations§
Source§impl Clone for PeerDialogs
impl Clone for PeerDialogs
Source§fn clone(&self) -> PeerDialogs
fn clone(&self) -> PeerDialogs
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 PeerDialogs
impl Debug for PeerDialogs
Source§impl Deserializable for PeerDialogs
impl Deserializable for PeerDialogs
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<PeerDialogs> for PeerDialogs
impl From<PeerDialogs> for PeerDialogs
Source§fn from(x: PeerDialogs) -> Self
fn from(x: PeerDialogs) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PeerDialogs
impl Identifiable for PeerDialogs
Source§const CONSTRUCTOR_ID: u32 = 0x3371c354
const CONSTRUCTOR_ID: u32 = 0x3371c354
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PeerDialogs
impl PartialEq for PeerDialogs
Source§impl Serializable for PeerDialogs
impl Serializable for PeerDialogs
Source§impl TryFrom<PeerDialogs> for PeerDialogs
impl TryFrom<PeerDialogs> for PeerDialogs
Source§type Error = PeerDialogs
type Error = PeerDialogs
The type returned in the event of a conversion error.
impl StructuralPartialEq for PeerDialogs
Auto Trait Implementations§
impl Freeze for PeerDialogs
impl RefUnwindSafe for PeerDialogs
impl Send for PeerDialogs
impl Sync for PeerDialogs
impl Unpin for PeerDialogs
impl UnsafeUnpin for PeerDialogs
impl UnwindSafe for PeerDialogs
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