pub struct SignFail {
pub txid: String,
pub vout: u64,
pub script_sig: String,
pub sequence: u32,
pub error: String,
}Expand description
A script verification error. Part of signrawtransaction.
Fields§
§txid: StringThe hash of the referenced, previous transaction.
vout: u64The index of the output to spent and used as input.
script_sig: StringThe hex-encoded signature script.
sequence: u32Script sequence number.
error: StringVerification or signing error related to the input.
Implementations§
Source§impl SignFail
impl SignFail
Sourcepub fn into_model(self) -> Result<SignFail, SignFailError>
pub fn into_model(self) -> Result<SignFail, SignFailError>
Converts version specific type to a version nonspecific, more strongly typed type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SignFail
impl<'de> Deserialize<'de> for SignFail
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignFail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SignFail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SignFail
impl Serialize for SignFail
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SignFail
Auto Trait Implementations§
impl Freeze for SignFail
impl RefUnwindSafe for SignFail
impl Send for SignFail
impl Sync for SignFail
impl Unpin for SignFail
impl UnsafeUnpin for SignFail
impl UnwindSafe for SignFail
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