Struct near_crypto::ED25519PublicKey
source · pub struct ED25519PublicKey(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
source§impl<__AsRefT: ?Sized> AsRef<__AsRefT> for ED25519PublicKey
impl<__AsRefT: ?Sized> AsRef<__AsRefT> for ED25519PublicKey
source§impl Clone for ED25519PublicKey
impl Clone for ED25519PublicKey
source§fn clone(&self) -> ED25519PublicKey
fn clone(&self) -> ED25519PublicKey
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 ED25519PublicKey
impl Debug for ED25519PublicKey
source§impl From<ED25519PublicKey> for PublicKey
impl From<ED25519PublicKey> for PublicKey
source§fn from(ed25519: ED25519PublicKey) -> Self
fn from(ed25519: ED25519PublicKey) -> Self
Converts to this type from the input type.
source§impl Ord for ED25519PublicKey
impl Ord for ED25519PublicKey
source§fn cmp(&self, other: &ED25519PublicKey) -> Ordering
fn cmp(&self, other: &ED25519PublicKey) -> 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 ED25519PublicKey
impl PartialEq for ED25519PublicKey
source§fn eq(&self, other: &ED25519PublicKey) -> bool
fn eq(&self, other: &ED25519PublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ED25519PublicKey
impl PartialOrd for ED25519PublicKey
source§fn partial_cmp(&self, other: &ED25519PublicKey) -> Option<Ordering>
fn partial_cmp(&self, other: &ED25519PublicKey) -> 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 TryFrom<&[u8]> for ED25519PublicKey
impl TryFrom<&[u8]> for ED25519PublicKey
impl Eq for ED25519PublicKey
impl StructuralEq for ED25519PublicKey
impl StructuralPartialEq for ED25519PublicKey
Auto Trait Implementations§
impl RefUnwindSafe for ED25519PublicKey
impl Send for ED25519PublicKey
impl Sync for ED25519PublicKey
impl Unpin for ED25519PublicKey
impl UnwindSafe for ED25519PublicKey
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
)