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