pub struct EcdsaSig {
pub sig: Signature,
pub hash_ty: EcdsaSigHashType,
}
Expand description
An ECDSA signature with the corresponding hash type.
Fields
sig: Signature
The underlying ECDSA Signature
hash_ty: EcdsaSigHashType
The corresponding hash type
Implementations
Constructs ECDSA bitcoin signature for EcdsaSigHashType::All
Deserialize from slice following the standardness rules for EcdsaSigHashType
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for EcdsaSig
impl UnwindSafe for EcdsaSig
Blanket Implementations
Mutably borrows from an owned value. Read more