pub struct ReqDhParams {
pub nonce: [u8; 16],
pub server_nonce: [u8; 16],
pub p: Vec<u8>,
pub q: Vec<u8>,
pub public_key_fingerprint: i64,
pub encrypted_data: Vec<u8>,
}Expand description
Generated from:
req_DH_params#d712e4be nonce:int128 server_nonce:int128 p:bytes q:bytes public_key_fingerprint:long encrypted_data:bytes = Server_DH_ParamsFields§
§nonce: [u8; 16]§server_nonce: [u8; 16]§p: Vec<u8>§q: Vec<u8>§public_key_fingerprint: i64§encrypted_data: Vec<u8>Trait Implementations§
Source§impl Clone for ReqDhParams
impl Clone for ReqDhParams
Source§fn clone(&self) -> ReqDhParams
fn clone(&self) -> ReqDhParams
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 ReqDhParams
impl Debug for ReqDhParams
Source§impl Deserializable for ReqDhParams
impl Deserializable for ReqDhParams
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 Identifiable for ReqDhParams
impl Identifiable for ReqDhParams
Source§const CONSTRUCTOR_ID: u32 = 0xd712e4be
const CONSTRUCTOR_ID: u32 = 0xd712e4be
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ReqDhParams
impl PartialEq for ReqDhParams
Source§impl RemoteCall for ReqDhParams
impl RemoteCall for ReqDhParams
Source§type Return = ServerDhParams
type Return = ServerDhParams
The deserialized response type.
Source§impl Serializable for ReqDhParams
impl Serializable for ReqDhParams
impl StructuralPartialEq for ReqDhParams
Auto Trait Implementations§
impl Freeze for ReqDhParams
impl RefUnwindSafe for ReqDhParams
impl Send for ReqDhParams
impl Sync for ReqDhParams
impl Unpin for ReqDhParams
impl UnsafeUnpin for ReqDhParams
impl UnwindSafe for ReqDhParams
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