Struct concordium_std::PublicKeyEcdsaSecp256k1
source · #[repr(transparent)]pub struct PublicKeyEcdsaSecp256k1(pub [u8; 33]);
Expand description
Public key for ECDSA over Secp256k1. Must be 33 bytes long.
Tuple Fields§
§0: [u8; 33]
Trait Implementations§
source§impl Clone for PublicKeyEcdsaSecp256k1
impl Clone for PublicKeyEcdsaSecp256k1
source§fn clone(&self) -> PublicKeyEcdsaSecp256k1
fn clone(&self) -> PublicKeyEcdsaSecp256k1
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 PublicKeyEcdsaSecp256k1
impl Debug for PublicKeyEcdsaSecp256k1
source§impl Deserial for PublicKeyEcdsaSecp256k1
impl Deserial for PublicKeyEcdsaSecp256k1
source§fn deserial<__R>(
________________source: &mut __R
) -> Result<PublicKeyEcdsaSecp256k1, ParseError>where
__R: Read,
fn deserial<__R>(
________________source: &mut __R
) -> Result<PublicKeyEcdsaSecp256k1, 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 PublicKeyEcdsaSecp256k1
impl Display for PublicKeyEcdsaSecp256k1
source§impl FromStr for PublicKeyEcdsaSecp256k1
impl FromStr for PublicKeyEcdsaSecp256k1
§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
source§fn from_str(
s: &str
) -> Result<PublicKeyEcdsaSecp256k1, <PublicKeyEcdsaSecp256k1 as FromStr>::Err>
fn from_str( s: &str ) -> Result<PublicKeyEcdsaSecp256k1, <PublicKeyEcdsaSecp256k1 as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moresource§impl Ord for PublicKeyEcdsaSecp256k1
impl Ord for PublicKeyEcdsaSecp256k1
source§fn cmp(&self, other: &PublicKeyEcdsaSecp256k1) -> Ordering
fn cmp(&self, other: &PublicKeyEcdsaSecp256k1) -> 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 PublicKeyEcdsaSecp256k1
impl PartialEq for PublicKeyEcdsaSecp256k1
source§fn eq(&self, other: &PublicKeyEcdsaSecp256k1) -> bool
fn eq(&self, other: &PublicKeyEcdsaSecp256k1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PublicKeyEcdsaSecp256k1
impl PartialOrd for PublicKeyEcdsaSecp256k1
source§fn partial_cmp(&self, other: &PublicKeyEcdsaSecp256k1) -> Option<Ordering>
fn partial_cmp(&self, other: &PublicKeyEcdsaSecp256k1) -> 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 SchemaType for PublicKeyEcdsaSecp256k1
impl SchemaType for PublicKeyEcdsaSecp256k1
source§impl Serial for PublicKeyEcdsaSecp256k1
impl Serial for PublicKeyEcdsaSecp256k1
impl Copy for PublicKeyEcdsaSecp256k1
impl Eq for PublicKeyEcdsaSecp256k1
impl StructuralPartialEq for PublicKeyEcdsaSecp256k1
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyEcdsaSecp256k1
impl Send for PublicKeyEcdsaSecp256k1
impl Sync for PublicKeyEcdsaSecp256k1
impl Unpin for PublicKeyEcdsaSecp256k1
impl UnwindSafe for PublicKeyEcdsaSecp256k1
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<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.