Struct bitcoincore_rpc_json::SigHashType
source · pub struct SigHashType(/* private fields */);
Expand description
A wrapper around bitcoin::EcdsaSighashType that will be serialized according to what the RPC expects.
Trait Implementations§
source§impl From<EcdsaSighashType> for SigHashType
impl From<EcdsaSighashType> for SigHashType
source§fn from(sht: EcdsaSighashType) -> SigHashType
fn from(sht: EcdsaSighashType) -> SigHashType
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SigHashType
impl Send for SigHashType
impl Sync for SigHashType
impl Unpin for SigHashType
impl UnwindSafe for SigHashType
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