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