@@ -654,7 +654,7 @@ pub enum GetTransactionResultDetailCategory {
654
654
Orphan ,
655
655
}
656
656
657
- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
657
+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
658
658
pub struct GetTransactionResultDetail {
659
659
pub address : Option < Address > ,
660
660
pub category : GetTransactionResultDetailCategory ,
@@ -667,7 +667,7 @@ pub struct GetTransactionResultDetail {
667
667
pub abandoned : Option < bool > ,
668
668
}
669
669
670
- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
670
+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
671
671
pub struct WalletTxInfo {
672
672
pub confirmations : i32 ,
673
673
pub blockhash : Option < bitcoin:: BlockHash > ,
@@ -684,7 +684,7 @@ pub struct WalletTxInfo {
684
684
pub wallet_conflicts : Vec < bitcoin:: Txid > ,
685
685
}
686
686
687
- #[ derive( Clone , PartialEq , Eq , Debug , Deserialize ) ]
687
+ #[ derive( Clone , PartialEq , Eq , Debug , Deserialize , Serialize ) ]
688
688
pub struct GetTransactionResult {
689
689
#[ serde( flatten) ]
690
690
pub info : WalletTxInfo ,
@@ -1770,7 +1770,7 @@ impl serde::Serialize for SigHashType {
1770
1770
}
1771
1771
1772
1772
// Used for createrawtransaction argument.
1773
- #[ derive( Serialize , Clone , PartialEq , Eq , Debug ) ]
1773
+ #[ derive( Serialize , Clone , PartialEq , Eq , Debug , Deserialize ) ]
1774
1774
#[ serde( rename_all = "camelCase" ) ]
1775
1775
pub struct CreateRawTransactionInput {
1776
1776
pub txid : bitcoin:: Txid ,
0 commit comments