#[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§fn deserial<__R>(
________________source: &mut __R,
) -> Result<PublicKeyEd25519, ParseError>where
__R: Read,
fn deserial<__R>(
________________source: &mut __R,
) -> Result<PublicKeyEd25519, ParseError>where
__R: Read,
Attempt to read a structure from a given source, failing if an error
occurs during deserialization or reading.
Source§impl Display for PublicKeyEd25519
impl Display for PublicKeyEd25519
Source§impl From<PublicKeyEd25519> for String
impl From<PublicKeyEd25519> for String
Source§fn from(pk: PublicKeyEd25519) -> String
fn from(pk: PublicKeyEd25519) -> String
Converts to this type from the input type.
Source§impl FromStr for PublicKeyEd25519
impl FromStr for PublicKeyEd25519
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PublicKeyEd25519, <PublicKeyEd25519 as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PublicKeyEd25519, <PublicKeyEd25519 as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§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§impl PartialOrd for PublicKeyEd25519
impl PartialOrd for PublicKeyEd25519
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
impl<D, S> DeserialWithState<S> for Dwhere
D: Deserial,
S: HasStateApi,
Source§fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
fn deserial_with_state<R>(_state: &S, source: &mut R) -> Result<D, ParseError>where
R: Read,
Attempt to read a structure from a given source and state, failing if
an error occurs during deserialization or reading.