pub struct EcdsaSignature(pub Signature);Expand description
A wrapper around secp256k1 ECDSA signature with serde and molecule support.
Tuple Fields§
§0: SignatureImplementations§
Trait Implementations§
Source§impl Clone for EcdsaSignature
impl Clone for EcdsaSignature
Source§fn clone(&self) -> EcdsaSignature
fn clone(&self) -> EcdsaSignature
Returns a duplicate 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 EcdsaSignature
impl Debug for EcdsaSignature
Source§impl<'de> Deserialize<'de> for EcdsaSignature
impl<'de> Deserialize<'de> for EcdsaSignature
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 From<EcdsaSignature> for EcdsaSignature
impl From<EcdsaSignature> for EcdsaSignature
Source§fn from(signature: EcdsaSignature) -> EcdsaSignature
fn from(signature: EcdsaSignature) -> EcdsaSignature
Converts to this type from the input type.
Source§impl From<EcdsaSignature> for Signature
impl From<EcdsaSignature> for Signature
Source§fn from(sig: EcdsaSignature) -> Self
fn from(sig: EcdsaSignature) -> Self
Converts to this type from the input type.
Source§impl From<Signature> for EcdsaSignature
impl From<Signature> for EcdsaSignature
Source§impl Hash for EcdsaSignature
impl Hash for EcdsaSignature
Source§impl Ord for EcdsaSignature
impl Ord for EcdsaSignature
Source§fn cmp(&self, other: &EcdsaSignature) -> Ordering
fn cmp(&self, other: &EcdsaSignature) -> 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 EcdsaSignature
impl PartialEq for EcdsaSignature
Source§impl PartialOrd for EcdsaSignature
impl PartialOrd for EcdsaSignature
Source§impl Serialize for EcdsaSignature
impl Serialize for EcdsaSignature
Source§impl TryFrom<EcdsaSignature> for EcdsaSignature
impl TryFrom<EcdsaSignature> for EcdsaSignature
impl Eq for EcdsaSignature
impl StructuralPartialEq for EcdsaSignature
Auto Trait Implementations§
impl Freeze for EcdsaSignature
impl RefUnwindSafe for EcdsaSignature
impl Send for EcdsaSignature
impl Sync for EcdsaSignature
impl Unpin for EcdsaSignature
impl UnsafeUnpin for EcdsaSignature
impl UnwindSafe for EcdsaSignature
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