Struct bdk::TransactionDetails [−][src]
pub struct TransactionDetails { pub transaction: Option<Transaction>, pub txid: Txid, pub timestamp: u64, pub received: u64, pub sent: u64, pub fees: u64, pub height: Option<u32>, }
Expand description
A wallet transaction
Fields
transaction: Option<Transaction>
Optional transaction
txid: Txid
Transaction id
timestamp: u64
Timestamp
received: u64
Received value (sats)
sent: u64
Sent value (sats)
fees: u64
Fee value (sats)
height: Option<u32>
Confirmed in block height, None
means unconfirmed
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransactionDetails
impl Send for TransactionDetails
impl Sync for TransactionDetails
impl Unpin for TransactionDetails
impl UnwindSafe for TransactionDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V