pub struct UpdateChannelMessageForwards {
pub channel_id: i64,
pub id: i32,
pub forwards: i32,
}Expand description
Generated from:
updateChannelMessageForwards#d29a27f4 channel_id:long id:int forwards:int = UpdateFields§
§channel_id: i64§id: i32§forwards: i32Trait Implementations§
Source§impl Clone for UpdateChannelMessageForwards
impl Clone for UpdateChannelMessageForwards
Source§fn clone(&self) -> UpdateChannelMessageForwards
fn clone(&self) -> UpdateChannelMessageForwards
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 UpdateChannelMessageForwards
impl Debug for UpdateChannelMessageForwards
Source§impl Deserializable for UpdateChannelMessageForwards
impl Deserializable for UpdateChannelMessageForwards
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<UpdateChannelMessageForwards> for Update
impl From<UpdateChannelMessageForwards> for Update
Source§fn from(x: UpdateChannelMessageForwards) -> Self
fn from(x: UpdateChannelMessageForwards) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelMessageForwards
impl Identifiable for UpdateChannelMessageForwards
Source§const CONSTRUCTOR_ID: u32 = 0xd29a27f4
const CONSTRUCTOR_ID: u32 = 0xd29a27f4
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChannelMessageForwards
impl PartialEq for UpdateChannelMessageForwards
Source§fn eq(&self, other: &UpdateChannelMessageForwards) -> bool
fn eq(&self, other: &UpdateChannelMessageForwards) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Update> for UpdateChannelMessageForwards
impl TryFrom<Update> for UpdateChannelMessageForwards
impl StructuralPartialEq for UpdateChannelMessageForwards
Auto Trait Implementations§
impl Freeze for UpdateChannelMessageForwards
impl RefUnwindSafe for UpdateChannelMessageForwards
impl Send for UpdateChannelMessageForwards
impl Sync for UpdateChannelMessageForwards
impl Unpin for UpdateChannelMessageForwards
impl UnsafeUnpin for UpdateChannelMessageForwards
impl UnwindSafe for UpdateChannelMessageForwards
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