pub struct UpdateShort {
pub update: Update,
pub date: i32,
}Expand description
Fields§
§update: Update§date: i32Trait Implementations§
Source§impl Clone for UpdateShort
impl Clone for UpdateShort
Source§fn clone(&self) -> UpdateShort
fn clone(&self) -> UpdateShort
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 UpdateShort
impl Debug for UpdateShort
Source§impl Deserializable for UpdateShort
impl Deserializable for UpdateShort
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<UpdateShort> for Updates
impl From<UpdateShort> for Updates
Source§fn from(x: UpdateShort) -> Self
fn from(x: UpdateShort) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateShort
impl Identifiable for UpdateShort
Source§const CONSTRUCTOR_ID: u32 = 0x78d4dec1
const CONSTRUCTOR_ID: u32 = 0x78d4dec1
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateShort
impl PartialEq for UpdateShort
Source§impl Serializable for UpdateShort
impl Serializable for UpdateShort
Source§impl TryFrom<Updates> for UpdateShort
impl TryFrom<Updates> for UpdateShort
impl StructuralPartialEq for UpdateShort
Auto Trait Implementations§
impl Freeze for UpdateShort
impl RefUnwindSafe for UpdateShort
impl Send for UpdateShort
impl Sync for UpdateShort
impl Unpin for UpdateShort
impl UnsafeUnpin for UpdateShort
impl UnwindSafe for UpdateShort
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