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