pub struct X25519PublicKey(pub [u8; 32]);Expand description
X25519 public key: a 32-byte Curve25519 u-coordinate, little-endian (RFC 7748).
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Source§impl Clone for X25519PublicKey
impl Clone for X25519PublicKey
Source§fn clone(&self) -> X25519PublicKey
fn clone(&self) -> X25519PublicKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for X25519PublicKey
Source§impl Debug for X25519PublicKey
impl Debug for X25519PublicKey
Source§impl Default for X25519PublicKey
impl Default for X25519PublicKey
Source§fn default() -> X25519PublicKey
fn default() -> X25519PublicKey
Returns the “default value” for a type. Read more
impl Eq for X25519PublicKey
Source§impl Format for X25519PublicKey
impl Format for X25519PublicKey
Source§impl PartialEq for X25519PublicKey
impl PartialEq for X25519PublicKey
impl StructuralPartialEq for X25519PublicKey
Auto Trait Implementations§
impl Freeze for X25519PublicKey
impl RefUnwindSafe for X25519PublicKey
impl Send for X25519PublicKey
impl Sync for X25519PublicKey
impl Unpin for X25519PublicKey
impl UnsafeUnpin for X25519PublicKey
impl UnwindSafe for X25519PublicKey
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