pub struct Debit {
pub id: String,
pub account: String,
pub amount: u64,
pub to: String,
pub txid: String,
}Expand description
A withdrawal paid out (debit’s second argument).
Fields§
§id: StringThe request’s id: the debit is applied once by it.
account: StringThe account debited.
amount: u64Satoshis, at least crate::MIN_PAY.
to: StringWhere it was paid.
txid: StringThe payout transaction’s id.
Trait Implementations§
impl Eq for Debit
impl StructuralPartialEq for Debit
Auto Trait Implementations§
impl Freeze for Debit
impl RefUnwindSafe for Debit
impl Send for Debit
impl Sync for Debit
impl Unpin for Debit
impl UnsafeUnpin for Debit
impl UnwindSafe for Debit
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.