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