pub struct DhGenOk {
pub nonce: [u8; 16],
pub server_nonce: [u8; 16],
pub new_nonce_hash1: [u8; 16],
}Expand description
Generated from:
dh_gen_ok#3bcbf734 nonce:int128 server_nonce:int128 new_nonce_hash1:int128 = Set_client_DH_params_answerFields§
§nonce: [u8; 16]§server_nonce: [u8; 16]§new_nonce_hash1: [u8; 16]Trait Implementations§
Source§impl Deserializable for DhGenOk
impl Deserializable for DhGenOk
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<DhGenOk> for SetClientDhParamsAnswer
impl From<DhGenOk> for SetClientDhParamsAnswer
Source§impl Identifiable for DhGenOk
impl Identifiable for DhGenOk
Source§const CONSTRUCTOR_ID: u32 = 0x3bcbf734
const CONSTRUCTOR_ID: u32 = 0x3bcbf734
The constructor ID as specified in the TL schema.
Source§impl Serializable for DhGenOk
impl Serializable for DhGenOk
Source§impl TryFrom<SetClientDhParamsAnswer> for DhGenOk
impl TryFrom<SetClientDhParamsAnswer> for DhGenOk
Source§type Error = SetClientDhParamsAnswer
type Error = SetClientDhParamsAnswer
The type returned in the event of a conversion error.
impl StructuralPartialEq for DhGenOk
Auto Trait Implementations§
impl Freeze for DhGenOk
impl RefUnwindSafe for DhGenOk
impl Send for DhGenOk
impl Sync for DhGenOk
impl Unpin for DhGenOk
impl UnsafeUnpin for DhGenOk
impl UnwindSafe for DhGenOk
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