pub struct GetTransactionDetail {
pub involves_watch_only: Option<bool>,
pub account: Option<String>,
pub address: Address<NetworkUnchecked>,
pub category: TransactionCategory,
pub amount: SignedAmount,
pub label: Option<String>,
pub vout: u32,
pub fee: Option<SignedAmount>,
pub abandoned: Option<bool>,
pub parent_descriptors: Option<Vec<String>>,
}Expand description
Transaction detail. Part of the gettransaction.
Fields§
§involves_watch_only: Option<bool>Only returns true if imported addresses were involved in transaction. v20 and later only.
account: Option<String>DEPRECATED. The account name involved in the transaction, can be “” for the default account.
address: Address<NetworkUnchecked>The bitcoin address involved in the transaction.
category: TransactionCategoryThe category, either ‘send’ or ‘receive’.
amount: SignedAmountThe amount.
label: Option<String>A comment for the address/transaction, if any.
vout: u32the vout value.
fee: Option<SignedAmount>The amount of the fee.
This is negative and only available for the ‘send’ category of transactions.
abandoned: Option<bool>If the transaction has been abandoned (inputs are respendable).
Only available for the ‘send’ category of transactions.
parent_descriptors: Option<Vec<String>>Only if ‘category’ is ‘received’. List of parent descriptors for the output script of this coin. v24 and later only.
Trait Implementations§
Source§impl Clone for GetTransactionDetail
impl Clone for GetTransactionDetail
Source§fn clone(&self) -> GetTransactionDetail
fn clone(&self) -> GetTransactionDetail
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetTransactionDetail
impl Debug for GetTransactionDetail
Source§impl<'de> Deserialize<'de> for GetTransactionDetail
impl<'de> Deserialize<'de> for GetTransactionDetail
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetTransactionDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetTransactionDetail, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetTransactionDetail
impl PartialEq for GetTransactionDetail
Source§impl Serialize for GetTransactionDetail
impl Serialize for GetTransactionDetail
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 GetTransactionDetail
Auto Trait Implementations§
impl Freeze for GetTransactionDetail
impl RefUnwindSafe for GetTransactionDetail
impl Send for GetTransactionDetail
impl Sync for GetTransactionDetail
impl Unpin for GetTransactionDetail
impl UnsafeUnpin for GetTransactionDetail
impl UnwindSafe for GetTransactionDetail
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