pub struct LocalTransaction {
pub tx: Arc<Transaction>,
pub chain_position: ChainPosition<ConfirmationBlockTime>,
pub is_trusted: bool,
}Expand description
One canonical wallet tx, with its trust verdict already decided.
Fields§
§tx: Arc<Transaction>Refcounted handle into BDK’s in-memory tx graph; cloning is cheap.
chain_position: ChainPosition<ConfirmationBlockTime>§is_trusted: boolTrait Implementations§
Source§impl Clone for LocalTransaction
impl Clone for LocalTransaction
Source§fn clone(&self) -> LocalTransaction
fn clone(&self) -> LocalTransaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LocalTransaction
impl RefUnwindSafe for LocalTransaction
impl Send for LocalTransaction
impl Sync for LocalTransaction
impl Unpin for LocalTransaction
impl UnsafeUnpin for LocalTransaction
impl UnwindSafe for LocalTransaction
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