pub struct Updates {
pub updates: Vec<Update>,
pub users: Vec<User>,
pub chats: Vec<Chat>,
pub date: i32,
pub seq: i32,
}Expand description
Generated from:
updates#74ae4240 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq:int = UpdatesFields§
§updates: Vec<Update>§users: Vec<User>§chats: Vec<Chat>§date: i32§seq: i32Trait Implementations§
Source§impl Deserializable for Updates
impl Deserializable for Updates
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 Identifiable for Updates
impl Identifiable for Updates
Source§const CONSTRUCTOR_ID: u32 = 0x74ae4240
const CONSTRUCTOR_ID: u32 = 0x74ae4240
The constructor ID as specified in the TL schema.
Source§impl Serializable for Updates
impl Serializable for Updates
impl StructuralPartialEq for Updates
Auto Trait Implementations§
impl Freeze for Updates
impl RefUnwindSafe for Updates
impl Send for Updates
impl Sync for Updates
impl Unpin for Updates
impl UnsafeUnpin for Updates
impl UnwindSafe for Updates
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