pub struct ScriptSigJson {
pub asm: String,
pub hex: String,
}Expand description
A representation for the transaction ScriptSig, returned by some rpcs like gettransaction and getblock
Fields§
§asm: StringA ASM representation for this scriptSig
Assembly is a high-level representation of a lower level code. Instructions are turned into OP_XXXXX and data is hex-encoded. E.g: OP_PUSHBYTES32 <000000000000000000000000000000000000000000000000000000000000000000>
hex: StringThe hex-encoded script sig
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScriptSigJson
impl<'de> Deserialize<'de> for ScriptSigJson
Source§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 Freeze for ScriptSigJson
impl RefUnwindSafe for ScriptSigJson
impl Send for ScriptSigJson
impl Sync for ScriptSigJson
impl Unpin for ScriptSigJson
impl UnwindSafe for ScriptSigJson
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