Struct near_crypto::Secp256K1PublicKey
source · pub struct Secp256K1PublicKey(/* private fields */);
Trait Implementations§
source§impl<__AsRefT: ?Sized> AsRef<__AsRefT> for Secp256K1PublicKey
impl<__AsRefT: ?Sized> AsRef<__AsRefT> for Secp256K1PublicKey
source§impl Clone for Secp256K1PublicKey
impl Clone for Secp256K1PublicKey
source§fn clone(&self) -> Secp256K1PublicKey
fn clone(&self) -> Secp256K1PublicKey
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 Secp256K1PublicKey
impl Debug for Secp256K1PublicKey
source§impl From<Secp256K1PublicKey> for PublicKey
impl From<Secp256K1PublicKey> for PublicKey
source§fn from(secp256k1: Secp256K1PublicKey) -> Self
fn from(secp256k1: Secp256K1PublicKey) -> Self
Converts to this type from the input type.
source§impl Ord for Secp256K1PublicKey
impl Ord for Secp256K1PublicKey
source§fn cmp(&self, other: &Secp256K1PublicKey) -> Ordering
fn cmp(&self, other: &Secp256K1PublicKey) -> 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 Secp256K1PublicKey
impl PartialEq for Secp256K1PublicKey
source§fn eq(&self, other: &Secp256K1PublicKey) -> bool
fn eq(&self, other: &Secp256K1PublicKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Secp256K1PublicKey
impl PartialOrd for Secp256K1PublicKey
source§fn partial_cmp(&self, other: &Secp256K1PublicKey) -> Option<Ordering>
fn partial_cmp(&self, other: &Secp256K1PublicKey) -> 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 Secp256K1PublicKey
impl TryFrom<&[u8]> for Secp256K1PublicKey
impl Eq for Secp256K1PublicKey
impl StructuralEq for Secp256K1PublicKey
impl StructuralPartialEq 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§
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
)