pub struct RequestEncryption {
pub user_id: InputUser,
pub random_id: i32,
pub g_a: Vec<u8>,
}Expand description
Generated from:
messages.requestEncryption#f64daf43 user_id:InputUser random_id:int g_a:bytes = EncryptedChatFields§
§user_id: InputUser§random_id: i32§g_a: Vec<u8>Trait Implementations§
Source§impl Clone for RequestEncryption
impl Clone for RequestEncryption
Source§fn clone(&self) -> RequestEncryption
fn clone(&self) -> RequestEncryption
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 RequestEncryption
impl Debug for RequestEncryption
Source§impl Identifiable for RequestEncryption
impl Identifiable for RequestEncryption
Source§const CONSTRUCTOR_ID: u32 = 0xf64daf43
const CONSTRUCTOR_ID: u32 = 0xf64daf43
The constructor ID as specified in the TL schema.
Source§impl PartialEq for RequestEncryption
impl PartialEq for RequestEncryption
Source§impl RemoteCall for RequestEncryption
impl RemoteCall for RequestEncryption
Source§type Return = EncryptedChat
type Return = EncryptedChat
The deserialized response type.
Source§impl Serializable for RequestEncryption
impl Serializable for RequestEncryption
impl StructuralPartialEq for RequestEncryption
Auto Trait Implementations§
impl Freeze for RequestEncryption
impl RefUnwindSafe for RequestEncryption
impl Send for RequestEncryption
impl Sync for RequestEncryption
impl Unpin for RequestEncryption
impl UnsafeUnpin for RequestEncryption
impl UnwindSafe for RequestEncryption
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