#[repr(transparent)]pub struct SignatureEcdsaSecp256k1(pub [u8; 64]);
Expand description
Signature for a ECDSA (over Secp256k1) message. Must be 64 bytes longs (serialized in compressed format).
Tuple Fields§
§0: [u8; 64]
Trait Implementations§
source§impl Clone for SignatureEcdsaSecp256k1
impl Clone for SignatureEcdsaSecp256k1
source§fn clone(&self) -> SignatureEcdsaSecp256k1
fn clone(&self) -> SignatureEcdsaSecp256k1
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 SignatureEcdsaSecp256k1
impl Debug for SignatureEcdsaSecp256k1
source§impl Deserial for SignatureEcdsaSecp256k1
impl Deserial for SignatureEcdsaSecp256k1
source§impl<'de> Deserialize<'de> for SignatureEcdsaSecp256k1
impl<'de> Deserialize<'de> for SignatureEcdsaSecp256k1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SignatureEcdsaSecp256k1
impl Display for SignatureEcdsaSecp256k1
source§impl From<SignatureEcdsaSecp256k1> for String
impl From<SignatureEcdsaSecp256k1> for String
source§fn from(sig: SignatureEcdsaSecp256k1) -> String
fn from(sig: SignatureEcdsaSecp256k1) -> String
Converts to this type from the input type.
source§impl FromStr for SignatureEcdsaSecp256k1
impl FromStr for SignatureEcdsaSecp256k1
source§impl Ord for SignatureEcdsaSecp256k1
impl Ord for SignatureEcdsaSecp256k1
source§fn cmp(&self, other: &SignatureEcdsaSecp256k1) -> Ordering
fn cmp(&self, other: &SignatureEcdsaSecp256k1) -> 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 SignatureEcdsaSecp256k1
impl PartialEq for SignatureEcdsaSecp256k1
source§fn eq(&self, other: &SignatureEcdsaSecp256k1) -> bool
fn eq(&self, other: &SignatureEcdsaSecp256k1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SignatureEcdsaSecp256k1
impl PartialOrd for SignatureEcdsaSecp256k1
source§fn partial_cmp(&self, other: &SignatureEcdsaSecp256k1) -> Option<Ordering>
fn partial_cmp(&self, other: &SignatureEcdsaSecp256k1) -> 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 SignatureEcdsaSecp256k1
impl SchemaType for SignatureEcdsaSecp256k1
source§impl Serial for SignatureEcdsaSecp256k1
impl Serial for SignatureEcdsaSecp256k1
source§impl Serialize for SignatureEcdsaSecp256k1
impl Serialize for SignatureEcdsaSecp256k1
source§impl TryFrom<String> for SignatureEcdsaSecp256k1
impl TryFrom<String> for SignatureEcdsaSecp256k1
§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy for SignatureEcdsaSecp256k1
impl Eq for SignatureEcdsaSecp256k1
impl StructuralPartialEq for SignatureEcdsaSecp256k1
Auto Trait Implementations§
impl Freeze for SignatureEcdsaSecp256k1
impl RefUnwindSafe for SignatureEcdsaSecp256k1
impl Send for SignatureEcdsaSecp256k1
impl Sync for SignatureEcdsaSecp256k1
impl Unpin for SignatureEcdsaSecp256k1
impl UnwindSafe for SignatureEcdsaSecp256k1
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