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