pub struct PayInvoiceQuoteResponse {
pub payment_quote_id: String,
pub description: Option<String>,
pub valid_until: String,
pub conversion_rate: Option<ConversionRate>,
pub amount: Amount,
pub lightning_network_fee: Amount,
pub total_amount: Amount,
}Expand description
Pay Invoice Response
Fields§
§payment_quote_id: StringPayment quote Id
description: Option<String>Description
valid_until: StringQuote valid till
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 PayInvoiceQuoteResponse
impl Clone for PayInvoiceQuoteResponse
Source§fn clone(&self) -> PayInvoiceQuoteResponse
fn clone(&self) -> PayInvoiceQuoteResponse
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 PayInvoiceQuoteResponse
impl Debug for PayInvoiceQuoteResponse
Source§impl<'de> Deserialize<'de> for PayInvoiceQuoteResponse
impl<'de> Deserialize<'de> for PayInvoiceQuoteResponse
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 PayInvoiceQuoteResponse
impl PartialEq for PayInvoiceQuoteResponse
Source§impl Serialize for PayInvoiceQuoteResponse
impl Serialize for PayInvoiceQuoteResponse
impl StructuralPartialEq for PayInvoiceQuoteResponse
Auto Trait Implementations§
impl Freeze for PayInvoiceQuoteResponse
impl RefUnwindSafe for PayInvoiceQuoteResponse
impl Send for PayInvoiceQuoteResponse
impl Sync for PayInvoiceQuoteResponse
impl Unpin for PayInvoiceQuoteResponse
impl UnwindSafe for PayInvoiceQuoteResponse
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