pub struct DhGenRetry {
pub nonce: [u8; 16],
pub server_nonce: [u8; 16],
pub new_nonce_hash2: [u8; 16],
}Expand description
Generated from:
dh_gen_retry#46dc1fb9 nonce:int128 server_nonce:int128 new_nonce_hash2:int128 = Set_client_DH_params_answerFields§
§nonce: [u8; 16]§server_nonce: [u8; 16]§new_nonce_hash2: [u8; 16]Trait Implementations§
Source§impl Clone for DhGenRetry
impl Clone for DhGenRetry
Source§fn clone(&self) -> DhGenRetry
fn clone(&self) -> DhGenRetry
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 DhGenRetry
impl Debug for DhGenRetry
Source§impl Deserializable for DhGenRetry
impl Deserializable for DhGenRetry
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<DhGenRetry> for SetClientDhParamsAnswer
impl From<DhGenRetry> for SetClientDhParamsAnswer
Source§fn from(x: DhGenRetry) -> Self
fn from(x: DhGenRetry) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DhGenRetry
impl Identifiable for DhGenRetry
Source§const CONSTRUCTOR_ID: u32 = 0x46dc1fb9
const CONSTRUCTOR_ID: u32 = 0x46dc1fb9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DhGenRetry
impl PartialEq for DhGenRetry
Source§impl Serializable for DhGenRetry
impl Serializable for DhGenRetry
Source§impl TryFrom<SetClientDhParamsAnswer> for DhGenRetry
impl TryFrom<SetClientDhParamsAnswer> for DhGenRetry
Source§type Error = SetClientDhParamsAnswer
type Error = SetClientDhParamsAnswer
The type returned in the event of a conversion error.
impl StructuralPartialEq for DhGenRetry
Auto Trait Implementations§
impl Freeze for DhGenRetry
impl RefUnwindSafe for DhGenRetry
impl Send for DhGenRetry
impl Sync for DhGenRetry
impl Unpin for DhGenRetry
impl UnsafeUnpin for DhGenRetry
impl UnwindSafe for DhGenRetry
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