Struct bitcoincore_rpc_json::SigHashType
source · pub struct SigHashType(_);
Expand description
A wrapper around bitcoin::SigHashType that will be serialized according to what the RPC expects.
Trait Implementations
sourceimpl From<SigHashType> for SigHashType
impl From<SigHashType> for SigHashType
sourcefn from(sht: SigHashType) -> SigHashType
fn from(sht: SigHashType) -> SigHashType
Converts to this type from the input type.
sourceimpl Serialize for SigHashType
impl Serialize for SigHashType
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more