pub struct SavedDialog {
pub pinned: bool,
pub peer: Peer,
pub top_message: i32,
}Expand description
Generated from:
savedDialog#bd87cb6c flags:# pinned:flags.2?true peer:Peer top_message:int = SavedDialogFields§
§pinned: bool§peer: Peer§top_message: i32Trait Implementations§
Source§impl Clone for SavedDialog
impl Clone for SavedDialog
Source§fn clone(&self) -> SavedDialog
fn clone(&self) -> SavedDialog
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 SavedDialog
impl Debug for SavedDialog
Source§impl Deserializable for SavedDialog
impl Deserializable for SavedDialog
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<SavedDialog> for SavedDialog
impl From<SavedDialog> for SavedDialog
Source§fn from(x: SavedDialog) -> Self
fn from(x: SavedDialog) -> Self
Converts to this type from the input type.
Source§impl Identifiable for SavedDialog
impl Identifiable for SavedDialog
Source§const CONSTRUCTOR_ID: u32 = 0xbd87cb6c
const CONSTRUCTOR_ID: u32 = 0xbd87cb6c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SavedDialog
impl PartialEq for SavedDialog
Source§impl Serializable for SavedDialog
impl Serializable for SavedDialog
Source§impl TryFrom<SavedDialog> for SavedDialog
impl TryFrom<SavedDialog> for SavedDialog
Source§type Error = SavedDialog
type Error = SavedDialog
The type returned in the event of a conversion error.
impl StructuralPartialEq for SavedDialog
Auto Trait Implementations§
impl Freeze for SavedDialog
impl RefUnwindSafe for SavedDialog
impl Send for SavedDialog
impl Sync for SavedDialog
impl Unpin for SavedDialog
impl UnsafeUnpin for SavedDialog
impl UnwindSafe for SavedDialog
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