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