pub struct UpdatePinnedChannelMessages {
pub pinned: bool,
pub channel_id: i64,
pub messages: Vec<i32>,
pub pts: i32,
pub pts_count: i32,
}Expand description
Generated from:
updatePinnedChannelMessages#5bb98608 flags:# pinned:flags.0?true channel_id:long messages:Vector<int> pts:int pts_count:int = UpdateFields§
§pinned: bool§channel_id: i64§messages: Vec<i32>§pts: i32§pts_count: i32Trait Implementations§
Source§impl Clone for UpdatePinnedChannelMessages
impl Clone for UpdatePinnedChannelMessages
Source§fn clone(&self) -> UpdatePinnedChannelMessages
fn clone(&self) -> UpdatePinnedChannelMessages
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 UpdatePinnedChannelMessages
impl Debug for UpdatePinnedChannelMessages
Source§impl Deserializable for UpdatePinnedChannelMessages
impl Deserializable for UpdatePinnedChannelMessages
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<UpdatePinnedChannelMessages> for Update
impl From<UpdatePinnedChannelMessages> for Update
Source§fn from(x: UpdatePinnedChannelMessages) -> Self
fn from(x: UpdatePinnedChannelMessages) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatePinnedChannelMessages
impl Identifiable for UpdatePinnedChannelMessages
Source§const CONSTRUCTOR_ID: u32 = 0x5bb98608
const CONSTRUCTOR_ID: u32 = 0x5bb98608
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdatePinnedChannelMessages
impl TryFrom<Update> for UpdatePinnedChannelMessages
impl StructuralPartialEq for UpdatePinnedChannelMessages
Auto Trait Implementations§
impl Freeze for UpdatePinnedChannelMessages
impl RefUnwindSafe for UpdatePinnedChannelMessages
impl Send for UpdatePinnedChannelMessages
impl Sync for UpdatePinnedChannelMessages
impl Unpin for UpdatePinnedChannelMessages
impl UnsafeUnpin for UpdatePinnedChannelMessages
impl UnwindSafe for UpdatePinnedChannelMessages
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