Struct floresta_cli::rpc_types::ScriptSigJson
source · pub struct ScriptSigJson {
pub asm: String,
pub hex: String,
}
Expand description
A representation for the transaction ScriptSig, returned by some rpcs like getrawtransaction and getblock
Fields§
§asm: String
A 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: String
The 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 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