pub struct WaitPaymentResponse {
pub payment_identifier: PaymentIdentifier,
pub payment_amount: Amount<CurrencyUnit>,
pub payment_id: String,
}Expand description
Wait any invoice response
Fields§
§payment_identifier: PaymentIdentifierRequest look up id Id that relates the quote and payment request
payment_amount: Amount<CurrencyUnit>Payment amount (typed with unit for compile-time safety)
payment_id: StringUnique id of payment
Implementations§
Source§impl WaitPaymentResponse
impl WaitPaymentResponse
Sourcepub fn unit(&self) -> &CurrencyUnit
pub fn unit(&self) -> &CurrencyUnit
Get the currency unit
Trait Implementations§
Source§impl Clone for WaitPaymentResponse
impl Clone for WaitPaymentResponse
Source§fn clone(&self) -> WaitPaymentResponse
fn clone(&self) -> WaitPaymentResponse
Returns a duplicate 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 WaitPaymentResponse
impl Debug for WaitPaymentResponse
Auto Trait Implementations§
impl Freeze for WaitPaymentResponse
impl RefUnwindSafe for WaitPaymentResponse
impl Send for WaitPaymentResponse
impl Sync for WaitPaymentResponse
impl Unpin for WaitPaymentResponse
impl UnsafeUnpin for WaitPaymentResponse
impl UnwindSafe for WaitPaymentResponse
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