Struct bitmask_core::data::structs::WalletTransaction
source · pub struct WalletTransaction {
pub txid: Txid,
pub received: u64,
pub sent: u64,
pub fee: Option<u64>,
pub confirmed: bool,
pub confirmation_time: Option<BlockTime>,
}Fields§
§txid: Txid§received: u64§sent: u64§fee: Option<u64>§confirmed: bool§confirmation_time: Option<BlockTime>Trait Implementations§
source§impl Clone for WalletTransaction
impl Clone for WalletTransaction
source§fn clone(&self) -> WalletTransaction
fn clone(&self) -> WalletTransaction
Returns a copy 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 WalletTransaction
impl Debug for WalletTransaction
source§impl<'de> Deserialize<'de> for WalletTransaction
impl<'de> Deserialize<'de> for WalletTransaction
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
source§impl PartialEq<WalletTransaction> for WalletTransaction
impl PartialEq<WalletTransaction> for WalletTransaction
source§fn eq(&self, other: &WalletTransaction) -> bool
fn eq(&self, other: &WalletTransaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for WalletTransaction
impl Serialize for WalletTransaction
impl Eq for WalletTransaction
impl StructuralEq for WalletTransaction
impl StructuralPartialEq for WalletTransaction
Auto Trait Implementations§
impl RefUnwindSafe for WalletTransaction
impl Send for WalletTransaction
impl Sync for WalletTransaction
impl Unpin for WalletTransaction
impl UnwindSafe for WalletTransaction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.