pub struct Signature {
pub v: u64,
pub r: H256,
pub s: H256,
}
Expand description
A struct that represents the components of a secp256k1 signature.
Fields§
§v: u64
V component in electrum format with chain-id replay protection.
r: H256
R component of the signature.
s: H256
S component of the signature.
Auto Trait Implementations§
impl Freeze for Signature
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
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