pub struct InputChannelFromMessage {
pub peer: InputPeer,
pub msg_id: i32,
pub channel_id: i64,
}Expand description
Generated from:
inputChannelFromMessage#5b934f9d peer:InputPeer msg_id:int channel_id:long = InputChannelFields§
§peer: InputPeer§msg_id: i32§channel_id: i64Trait Implementations§
Source§impl Clone for InputChannelFromMessage
impl Clone for InputChannelFromMessage
Source§fn clone(&self) -> InputChannelFromMessage
fn clone(&self) -> InputChannelFromMessage
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 InputChannelFromMessage
impl Debug for InputChannelFromMessage
Source§impl Deserializable for InputChannelFromMessage
impl Deserializable for InputChannelFromMessage
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<InputChannelFromMessage> for InputChannel
impl From<InputChannelFromMessage> for InputChannel
Source§fn from(x: InputChannelFromMessage) -> Self
fn from(x: InputChannelFromMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputChannelFromMessage
impl Identifiable for InputChannelFromMessage
Source§const CONSTRUCTOR_ID: u32 = 0x5b934f9d
const CONSTRUCTOR_ID: u32 = 0x5b934f9d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputChannelFromMessage
impl PartialEq for InputChannelFromMessage
Source§impl TryFrom<InputChannel> for InputChannelFromMessage
impl TryFrom<InputChannel> for InputChannelFromMessage
Source§type Error = InputChannel
type Error = InputChannel
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputChannelFromMessage
Auto Trait Implementations§
impl Freeze for InputChannelFromMessage
impl RefUnwindSafe for InputChannelFromMessage
impl Send for InputChannelFromMessage
impl Sync for InputChannelFromMessage
impl Unpin for InputChannelFromMessage
impl UnsafeUnpin for InputChannelFromMessage
impl UnwindSafe for InputChannelFromMessage
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