pub struct UpdateChannelTooLong {
pub channel_id: i64,
pub pts: Option<i32>,
}Expand description
Generated from:
updateChannelTooLong#108d941f flags:# channel_id:long pts:flags.0?int = UpdateFields§
§channel_id: i64§pts: Option<i32>Trait Implementations§
Source§impl Clone for UpdateChannelTooLong
impl Clone for UpdateChannelTooLong
Source§fn clone(&self) -> UpdateChannelTooLong
fn clone(&self) -> UpdateChannelTooLong
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 UpdateChannelTooLong
impl Debug for UpdateChannelTooLong
Source§impl Deserializable for UpdateChannelTooLong
impl Deserializable for UpdateChannelTooLong
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<UpdateChannelTooLong> for Update
impl From<UpdateChannelTooLong> for Update
Source§fn from(x: UpdateChannelTooLong) -> Self
fn from(x: UpdateChannelTooLong) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelTooLong
impl Identifiable for UpdateChannelTooLong
Source§const CONSTRUCTOR_ID: u32 = 0x108d941f
const CONSTRUCTOR_ID: u32 = 0x108d941f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChannelTooLong
impl PartialEq for UpdateChannelTooLong
Source§impl Serializable for UpdateChannelTooLong
impl Serializable for UpdateChannelTooLong
Source§impl TryFrom<Update> for UpdateChannelTooLong
impl TryFrom<Update> for UpdateChannelTooLong
impl StructuralPartialEq for UpdateChannelTooLong
Auto Trait Implementations§
impl Freeze for UpdateChannelTooLong
impl RefUnwindSafe for UpdateChannelTooLong
impl Send for UpdateChannelTooLong
impl Sync for UpdateChannelTooLong
impl Unpin for UpdateChannelTooLong
impl UnsafeUnpin for UpdateChannelTooLong
impl UnwindSafe for UpdateChannelTooLong
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