pub struct DiscardEncryption {
pub delete_history: bool,
pub chat_id: i32,
}Expand description
Generated from:
messages.discardEncryption#f393aea0 flags:# delete_history:flags.0?true chat_id:int = BoolFields§
§delete_history: bool§chat_id: i32Trait Implementations§
Source§impl Clone for DiscardEncryption
impl Clone for DiscardEncryption
Source§fn clone(&self) -> DiscardEncryption
fn clone(&self) -> DiscardEncryption
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 DiscardEncryption
impl Debug for DiscardEncryption
Source§impl Identifiable for DiscardEncryption
impl Identifiable for DiscardEncryption
Source§const CONSTRUCTOR_ID: u32 = 0xf393aea0
const CONSTRUCTOR_ID: u32 = 0xf393aea0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DiscardEncryption
impl PartialEq for DiscardEncryption
Source§impl RemoteCall for DiscardEncryption
impl RemoteCall for DiscardEncryption
Source§impl Serializable for DiscardEncryption
impl Serializable for DiscardEncryption
impl StructuralPartialEq for DiscardEncryption
Auto Trait Implementations§
impl Freeze for DiscardEncryption
impl RefUnwindSafe for DiscardEncryption
impl Send for DiscardEncryption
impl Sync for DiscardEncryption
impl Unpin for DiscardEncryption
impl UnsafeUnpin for DiscardEncryption
impl UnwindSafe for DiscardEncryption
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