pub struct TxDebit {
pub outpoint: Outpoint,
pub beneficiary: Party,
pub value: Sats,
pub spent: Option<Inpoint>,
}
Fields§
§outpoint: Outpoint
§beneficiary: Party
§value: Sats
§spent: Option<Inpoint>
Implementations§
Source§impl TxDebit
impl TxDebit
pub fn is_ourself(&self) -> bool
pub fn is_external(&self) -> bool
pub fn derived_addr(&self) -> Option<DerivedAddr>
Trait Implementations§
impl Eq for TxDebit
impl StructuralPartialEq for TxDebit
Auto Trait Implementations§
impl Freeze for TxDebit
impl RefUnwindSafe for TxDebit
impl Send for TxDebit
impl Sync for TxDebit
impl Unpin for TxDebit
impl UnwindSafe for TxDebit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.