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