pub struct Ed25519PK(pub [u8; 32]);
Expand description
An ed25519 public key.
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ed25519PK
impl<'de> Deserialize<'de> for Ed25519PK
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Ed25519PK
impl Ord for Ed25519PK
source§impl PartialEq<Ed25519PK> for Ed25519PK
impl PartialEq<Ed25519PK> for Ed25519PK
source§impl PartialOrd<Ed25519PK> for Ed25519PK
impl PartialOrd<Ed25519PK> for Ed25519PK
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