Struct concordium_std::PublicKeyEd25519
source · #[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 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<PublicKeyEd25519> for PublicKeyEd25519
impl PartialEq<PublicKeyEd25519> 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<PublicKeyEd25519> for PublicKeyEd25519
impl PartialOrd<PublicKeyEd25519> 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 more