Struct near_crypto::Secp256K1PublicKey
source · [−]pub struct Secp256K1PublicKey(_);
Trait Implementations
sourceimpl Clone for Secp256K1PublicKey
impl Clone for Secp256K1PublicKey
sourcefn clone(&self) -> Secp256K1PublicKey
fn clone(&self) -> Secp256K1PublicKey
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 Secp256K1PublicKey
impl Debug for Secp256K1PublicKey
sourceimpl From<Secp256K1PublicKey> for [u8; 64]
impl From<Secp256K1PublicKey> for [u8; 64]
sourcefn from(pubkey: Secp256K1PublicKey) -> Self
fn from(pubkey: Secp256K1PublicKey) -> Self
Converts to this type from the input type.
sourceimpl From<Secp256K1PublicKey> for PublicKey
impl From<Secp256K1PublicKey> for PublicKey
sourcefn from(secp256k1: Secp256K1PublicKey) -> Self
fn from(secp256k1: Secp256K1PublicKey) -> Self
Converts to this type from the input type.
sourceimpl Ord for Secp256K1PublicKey
impl Ord for Secp256K1PublicKey
sourceimpl PartialOrd<Secp256K1PublicKey> for Secp256K1PublicKey
impl PartialOrd<Secp256K1PublicKey> for Secp256K1PublicKey
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 Secp256K1PublicKey
Auto Trait Implementations
impl RefUnwindSafe for Secp256K1PublicKey
impl Send for Secp256K1PublicKey
impl Sync for Secp256K1PublicKey
impl Unpin for Secp256K1PublicKey
impl UnwindSafe for Secp256K1PublicKey
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