pub struct UpdateDialogPinned {
pub pinned: bool,
pub folder_id: Option<i32>,
pub peer: DialogPeer,
}Expand description
Generated from:
updateDialogPinned#6e6fe51c flags:# pinned:flags.0?true folder_id:flags.1?int peer:DialogPeer = UpdateFields§
§pinned: bool§folder_id: Option<i32>§peer: DialogPeerTrait Implementations§
Source§impl Clone for UpdateDialogPinned
impl Clone for UpdateDialogPinned
Source§fn clone(&self) -> UpdateDialogPinned
fn clone(&self) -> UpdateDialogPinned
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 UpdateDialogPinned
impl Debug for UpdateDialogPinned
Source§impl Deserializable for UpdateDialogPinned
impl Deserializable for UpdateDialogPinned
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<UpdateDialogPinned> for Update
impl From<UpdateDialogPinned> for Update
Source§fn from(x: UpdateDialogPinned) -> Self
fn from(x: UpdateDialogPinned) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateDialogPinned
impl Identifiable for UpdateDialogPinned
Source§const CONSTRUCTOR_ID: u32 = 0x6e6fe51c
const CONSTRUCTOR_ID: u32 = 0x6e6fe51c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateDialogPinned
impl PartialEq for UpdateDialogPinned
Source§impl Serializable for UpdateDialogPinned
impl Serializable for UpdateDialogPinned
Source§impl TryFrom<Update> for UpdateDialogPinned
impl TryFrom<Update> for UpdateDialogPinned
impl StructuralPartialEq for UpdateDialogPinned
Auto Trait Implementations§
impl Freeze for UpdateDialogPinned
impl RefUnwindSafe for UpdateDialogPinned
impl Send for UpdateDialogPinned
impl Sync for UpdateDialogPinned
impl Unpin for UpdateDialogPinned
impl UnsafeUnpin for UpdateDialogPinned
impl UnwindSafe for UpdateDialogPinned
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