pub struct PaymentTxData {
pub tx_id: String,
pub timestamp: Option<u32>,
pub amount_sat: u64,
pub fees_sat: u64,
pub payment_type: PaymentType,
pub is_confirmed: bool,
}
Fields§
§tx_id: String
The tx ID of the transaction
timestamp: Option<u32>
The point in time when the underlying tx was included in a block.
amount_sat: u64
The onchain tx amount.
In case of an outbound payment (Send), this is the payer amount. Otherwise it’s the receiver amount.
fees_sat: u64
The onchain fees of this tx
payment_type: PaymentType
§is_confirmed: bool
Onchain tx status
Trait Implementations§
source§impl Clone for PaymentTxData
impl Clone for PaymentTxData
source§fn clone(&self) -> PaymentTxData
fn clone(&self) -> PaymentTxData
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 PaymentTxData
impl Debug for PaymentTxData
Auto Trait Implementations§
impl Freeze for PaymentTxData
impl RefUnwindSafe for PaymentTxData
impl Send for PaymentTxData
impl Sync for PaymentTxData
impl Unpin for PaymentTxData
impl UnwindSafe for PaymentTxData
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request