pub struct Credit {
pub account: String,
pub txid: String,
pub vout: u32,
pub value: u64,
pub height: Option<u64>,
}Expand description
A deposit seen on-chain (credit’s second argument).
Fields§
§account: StringThe account whose deposit address it paid.
txid: StringThe paying transaction, 64 lowercase hex.
vout: u32The output’s index.
value: u64Satoshis.
height: Option<u64>The block height it was seen at.
Trait Implementations§
impl Eq for Credit
impl StructuralPartialEq for Credit
Auto Trait Implementations§
impl Freeze for Credit
impl RefUnwindSafe for Credit
impl Send for Credit
impl Sync for Credit
impl Unpin for Credit
impl UnsafeUnpin for Credit
impl UnwindSafe for Credit
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.