pub struct UpdateNewChannelMessage {
pub message: Message,
pub pts: i32,
pub pts_count: i32,
}Expand description
Generated from:
updateNewChannelMessage#62ba04d9 message:Message pts:int pts_count:int = UpdateFields§
§message: Message§pts: i32§pts_count: i32Trait Implementations§
Source§impl Clone for UpdateNewChannelMessage
impl Clone for UpdateNewChannelMessage
Source§fn clone(&self) -> UpdateNewChannelMessage
fn clone(&self) -> UpdateNewChannelMessage
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 UpdateNewChannelMessage
impl Debug for UpdateNewChannelMessage
Source§impl Deserializable for UpdateNewChannelMessage
impl Deserializable for UpdateNewChannelMessage
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<UpdateNewChannelMessage> for Update
impl From<UpdateNewChannelMessage> for Update
Source§fn from(x: UpdateNewChannelMessage) -> Self
fn from(x: UpdateNewChannelMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNewChannelMessage
impl Identifiable for UpdateNewChannelMessage
Source§const CONSTRUCTOR_ID: u32 = 0x62ba04d9
const CONSTRUCTOR_ID: u32 = 0x62ba04d9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateNewChannelMessage
impl PartialEq for UpdateNewChannelMessage
Source§impl TryFrom<Update> for UpdateNewChannelMessage
impl TryFrom<Update> for UpdateNewChannelMessage
impl StructuralPartialEq for UpdateNewChannelMessage
Auto Trait Implementations§
impl Freeze for UpdateNewChannelMessage
impl RefUnwindSafe for UpdateNewChannelMessage
impl Send for UpdateNewChannelMessage
impl Sync for UpdateNewChannelMessage
impl Unpin for UpdateNewChannelMessage
impl UnsafeUnpin for UpdateNewChannelMessage
impl UnwindSafe for UpdateNewChannelMessage
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