#[repr(transparent)]pub struct PublicKeyEd25519(pub [u8; 32]);
Expand description
Public key for Ed25519. Must be 32 bytes long.
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl Clone for PublicKeyEd25519
impl Clone for PublicKeyEd25519
source§fn clone(&self) -> PublicKeyEd25519
fn clone(&self) -> PublicKeyEd25519
Returns a copy 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 PublicKeyEd25519
impl Debug for PublicKeyEd25519
source§impl Deserial for PublicKeyEd25519
impl Deserial for PublicKeyEd25519
source§impl Display for PublicKeyEd25519
impl Display for PublicKeyEd25519
source§impl FromStr for PublicKeyEd25519
impl FromStr for PublicKeyEd25519
source§impl Ord for PublicKeyEd25519
impl Ord for PublicKeyEd25519
source§fn cmp(&self, other: &PublicKeyEd25519) -> Ordering
fn cmp(&self, other: &PublicKeyEd25519) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PublicKeyEd25519
impl PartialEq for PublicKeyEd25519
source§fn eq(&self, other: &PublicKeyEd25519) -> bool
fn eq(&self, other: &PublicKeyEd25519) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PublicKeyEd25519
impl PartialOrd for PublicKeyEd25519
source§fn partial_cmp(&self, other: &PublicKeyEd25519) -> Option<Ordering>
fn partial_cmp(&self, other: &PublicKeyEd25519) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl SchemaType for PublicKeyEd25519
impl SchemaType for PublicKeyEd25519
source§impl Serial for PublicKeyEd25519
impl Serial for PublicKeyEd25519
impl Copy for PublicKeyEd25519
impl Eq for PublicKeyEd25519
impl StructuralPartialEq for PublicKeyEd25519
Auto Trait Implementations§
impl Freeze for PublicKeyEd25519
impl RefUnwindSafe for PublicKeyEd25519
impl Send for PublicKeyEd25519
impl Sync for PublicKeyEd25519
impl Unpin for PublicKeyEd25519
impl UnwindSafe for PublicKeyEd25519
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