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