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