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