@@ -654,7 +654,7 @@ pub enum GetTransactionResultDetailCategory {
654654 Orphan ,
655655}
656656
657- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
657+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
658658pub struct GetTransactionResultDetail {
659659 pub address : Option < Address > ,
660660 pub category : GetTransactionResultDetailCategory ,
@@ -667,7 +667,7 @@ pub struct GetTransactionResultDetail {
667667 pub abandoned : Option < bool > ,
668668}
669669
670- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
670+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
671671pub struct WalletTxInfo {
672672 pub confirmations : i32 ,
673673 pub blockhash : Option < bitcoin:: BlockHash > ,
@@ -684,7 +684,7 @@ pub struct WalletTxInfo {
684684 pub wallet_conflicts : Vec < bitcoin:: Txid > ,
685685}
686686
687- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
687+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
688688pub struct GetTransactionResult {
689689 #[ serde( flatten) ]
690690 pub info : WalletTxInfo ,
@@ -1770,7 +1770,7 @@ impl serde::Serialize for SigHashType {
17701770}
17711771
17721772// Used for createrawtransaction argument.
1773- #[ derive( Serialize , Clone , PartialEq , Eq , Debug ) ]
1773+ #[ derive( Serialize , Clone , PartialEq , Eq , Debug , Deserialize ) ]
17741774#[ serde( rename_all = "camelCase" ) ]
17751775pub struct CreateRawTransactionInput {
17761776 pub txid : bitcoin:: Txid ,
0 commit comments