pub struct PQInnerDataDc {
pub pq: Vec<u8>,
pub p: Vec<u8>,
pub q: Vec<u8>,
pub nonce: [u8; 16],
pub server_nonce: [u8; 16],
pub new_nonce: [u8; 32],
pub dc: i32,
}Expand description
Generated from:
p_q_inner_data_dc#a9f55f95 pq:bytes p:bytes q:bytes nonce:int128 server_nonce:int128 new_nonce:int256 dc:int = P_Q_inner_dataFields§
§pq: Vec<u8>§p: Vec<u8>§q: Vec<u8>§nonce: [u8; 16]§server_nonce: [u8; 16]§new_nonce: [u8; 32]§dc: i32Trait Implementations§
Source§impl Clone for PQInnerDataDc
impl Clone for PQInnerDataDc
Source§fn clone(&self) -> PQInnerDataDc
fn clone(&self) -> PQInnerDataDc
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 PQInnerDataDc
impl Debug for PQInnerDataDc
Source§impl Deserializable for PQInnerDataDc
impl Deserializable for PQInnerDataDc
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<PQInnerDataDc> for PQInnerData
impl From<PQInnerDataDc> for PQInnerData
Source§fn from(x: PQInnerDataDc) -> Self
fn from(x: PQInnerDataDc) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PQInnerDataDc
impl Identifiable for PQInnerDataDc
Source§const CONSTRUCTOR_ID: u32 = 0xa9f55f95
const CONSTRUCTOR_ID: u32 = 0xa9f55f95
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PQInnerDataDc
impl PartialEq for PQInnerDataDc
Source§impl Serializable for PQInnerDataDc
impl Serializable for PQInnerDataDc
Source§impl TryFrom<PQInnerData> for PQInnerDataDc
impl TryFrom<PQInnerData> for PQInnerDataDc
Source§type Error = PQInnerData
type Error = PQInnerData
The type returned in the event of a conversion error.
impl StructuralPartialEq for PQInnerDataDc
Auto Trait Implementations§
impl Freeze for PQInnerDataDc
impl RefUnwindSafe for PQInnerDataDc
impl Send for PQInnerDataDc
impl Sync for PQInnerDataDc
impl Unpin for PQInnerDataDc
impl UnsafeUnpin for PQInnerDataDc
impl UnwindSafe for PQInnerDataDc
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