pub struct UpdatesCombined {
pub updates: Vec<Update>,
pub users: Vec<User>,
pub chats: Vec<Chat>,
pub date: i32,
pub seq_start: i32,
pub seq: i32,
}Expand description
Generated from:
updatesCombined#725b04c3 updates:Vector<Update> users:Vector<User> chats:Vector<Chat> date:int seq_start:int seq:int = UpdatesFields§
§updates: Vec<Update>§users: Vec<User>§chats: Vec<Chat>§date: i32§seq_start: i32§seq: i32Trait Implementations§
Source§impl Clone for UpdatesCombined
impl Clone for UpdatesCombined
Source§fn clone(&self) -> UpdatesCombined
fn clone(&self) -> UpdatesCombined
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 UpdatesCombined
impl Debug for UpdatesCombined
Source§impl Deserializable for UpdatesCombined
impl Deserializable for UpdatesCombined
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<UpdatesCombined> for Updates
impl From<UpdatesCombined> for Updates
Source§fn from(x: UpdatesCombined) -> Self
fn from(x: UpdatesCombined) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatesCombined
impl Identifiable for UpdatesCombined
Source§const CONSTRUCTOR_ID: u32 = 0x725b04c3
const CONSTRUCTOR_ID: u32 = 0x725b04c3
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdatesCombined
impl PartialEq for UpdatesCombined
Source§impl Serializable for UpdatesCombined
impl Serializable for UpdatesCombined
Source§impl TryFrom<Updates> for UpdatesCombined
impl TryFrom<Updates> for UpdatesCombined
impl StructuralPartialEq for UpdatesCombined
Auto Trait Implementations§
impl Freeze for UpdatesCombined
impl RefUnwindSafe for UpdatesCombined
impl Send for UpdatesCombined
impl Sync for UpdatesCombined
impl Unpin for UpdatesCombined
impl UnsafeUnpin for UpdatesCombined
impl UnwindSafe for UpdatesCombined
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