Struct floresta_watch_only::CachedTransaction
source · pub struct CachedTransaction {
pub tx: Transaction,
pub height: u32,
pub merkle_block: Option<MerkleProof>,
pub hash: Txid,
pub position: u32,
}
Expand description
Every address contains zero or more associated transactions, this struct defines what data we store for those.
Fields§
§tx: Transaction
§height: u32
§merkle_block: Option<MerkleProof>
§hash: Txid
§position: u32
Trait Implementations§
source§impl Clone for CachedTransaction
impl Clone for CachedTransaction
source§fn clone(&self) -> CachedTransaction
fn clone(&self) -> CachedTransaction
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 CachedTransaction
impl Debug for CachedTransaction
source§impl Default for CachedTransaction
impl Default for CachedTransaction
source§impl<'de> Deserialize<'de> for CachedTransaction
impl<'de> Deserialize<'de> for CachedTransaction
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 Ord for CachedTransaction
impl Ord for CachedTransaction
source§impl PartialEq<CachedTransaction> for CachedTransaction
impl PartialEq<CachedTransaction> for CachedTransaction
source§impl PartialOrd<CachedTransaction> for CachedTransaction
impl PartialOrd<CachedTransaction> for CachedTransaction
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for CachedTransaction
impl Serialize for CachedTransaction
impl Eq for CachedTransaction
impl StructuralEq for CachedTransaction
Auto Trait Implementations§
impl RefUnwindSafe for CachedTransaction
impl Send for CachedTransaction
impl Sync for CachedTransaction
impl Unpin for CachedTransaction
impl UnwindSafe for CachedTransaction
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