Struct near_crypto::ED25519PublicKey
source · [−]Tuple Fields
0: [u8; 32]
Trait Implementations
sourceimpl Clone for ED25519PublicKey
impl Clone for ED25519PublicKey
sourcefn clone(&self) -> ED25519PublicKey
fn clone(&self) -> ED25519PublicKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ED25519PublicKey
impl Debug for ED25519PublicKey
sourceimpl From<ED25519PublicKey> for PublicKey
impl From<ED25519PublicKey> for PublicKey
sourcefn from(ed25519: ED25519PublicKey) -> Self
fn from(ed25519: ED25519PublicKey) -> Self
Converts to this type from the input type.
sourceimpl Ord for ED25519PublicKey
impl Ord for ED25519PublicKey
sourceimpl PartialEq<ED25519PublicKey> for ED25519PublicKey
impl PartialEq<ED25519PublicKey> for ED25519PublicKey
sourceimpl PartialOrd<ED25519PublicKey> for ED25519PublicKey
impl PartialOrd<ED25519PublicKey> for ED25519PublicKey
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Eq 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
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
fn as_slice_of<T>(&self) -> Result<&[T], Error> where
T: FromByteSlice,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToHex for T where
T: AsRef<[u8]>,
impl<T> ToHex for T where
T: AsRef<[u8]>,
sourcefn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
Encode the hex strict representing self
into the result. Lower case
letters are used (e.g. f9b4ca
) Read more
sourcefn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
Encode the hex strict representing self
into the result. Upper case
letters are used (e.g. F9B4CA
) Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more