pub struct InvoicePaymentResponse {
pub payment_id: String,
pub state: InvoiceState,
pub completed: Option<String>,
pub conversion_rate: Option<ConversionRate>,
pub amount: Amount,
pub lightning_network_fee: Amount,
pub total_amount: Amount,
}Expand description
Pay Quote Response
Fields§
§payment_id: StringPayment id
state: InvoiceStateInvoice state
completed: Option<String>Completed time stamp
conversion_rate: Option<ConversionRate>Conversion quote
amount: AmountAmount
lightning_network_fee: AmountNetwork fee
total_amount: AmountTotal amount including fee
Trait Implementations§
Source§impl Clone for InvoicePaymentResponse
impl Clone for InvoicePaymentResponse
Source§fn clone(&self) -> InvoicePaymentResponse
fn clone(&self) -> InvoicePaymentResponse
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 InvoicePaymentResponse
impl Debug for InvoicePaymentResponse
Source§impl<'de> Deserialize<'de> for InvoicePaymentResponse
impl<'de> Deserialize<'de> for InvoicePaymentResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InvoicePaymentResponse
impl PartialEq for InvoicePaymentResponse
Source§impl Serialize for InvoicePaymentResponse
impl Serialize for InvoicePaymentResponse
impl StructuralPartialEq for InvoicePaymentResponse
Auto Trait Implementations§
impl Freeze for InvoicePaymentResponse
impl RefUnwindSafe for InvoicePaymentResponse
impl Send for InvoicePaymentResponse
impl Sync for InvoicePaymentResponse
impl Unpin for InvoicePaymentResponse
impl UnwindSafe for InvoicePaymentResponse
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