pub struct InputPeerChannelFromMessage {
pub peer: InputPeer,
pub msg_id: i32,
pub channel_id: i64,
}Expand description
Generated from:
inputPeerChannelFromMessage#bd2a0840 peer:InputPeer msg_id:int channel_id:long = InputPeerFields§
§peer: InputPeer§msg_id: i32§channel_id: i64Trait Implementations§
Source§impl Clone for InputPeerChannelFromMessage
impl Clone for InputPeerChannelFromMessage
Source§fn clone(&self) -> InputPeerChannelFromMessage
fn clone(&self) -> InputPeerChannelFromMessage
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 InputPeerChannelFromMessage
impl Debug for InputPeerChannelFromMessage
Source§impl Deserializable for InputPeerChannelFromMessage
impl Deserializable for InputPeerChannelFromMessage
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<InputPeerChannelFromMessage> for InputPeer
impl From<InputPeerChannelFromMessage> for InputPeer
Source§fn from(x: InputPeerChannelFromMessage) -> Self
fn from(x: InputPeerChannelFromMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputPeerChannelFromMessage
impl Identifiable for InputPeerChannelFromMessage
Source§const CONSTRUCTOR_ID: u32 = 0xbd2a0840
const CONSTRUCTOR_ID: u32 = 0xbd2a0840
The constructor ID as specified in the TL schema.
impl StructuralPartialEq for InputPeerChannelFromMessage
Auto Trait Implementations§
impl Freeze for InputPeerChannelFromMessage
impl RefUnwindSafe for InputPeerChannelFromMessage
impl Send for InputPeerChannelFromMessage
impl Sync for InputPeerChannelFromMessage
impl Unpin for InputPeerChannelFromMessage
impl UnsafeUnpin for InputPeerChannelFromMessage
impl UnwindSafe for InputPeerChannelFromMessage
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