pub struct PayInvoiceResponse {
pub payment_lookup_id: String,
pub payment_preimage: Option<String>,
pub status: MeltQuoteState,
pub total_spent: Amount,
pub unit: CurrencyUnit,
}Expand description
Pay invoice response
Fields§
§payment_lookup_id: StringPayment hash
payment_preimage: Option<String>Payment Preimage
status: MeltQuoteStateStatus
total_spent: AmountTotal Amount Spent
unit: CurrencyUnitUnit of total spent
Trait Implementations§
Source§impl Clone for PayInvoiceResponse
impl Clone for PayInvoiceResponse
Source§fn clone(&self) -> PayInvoiceResponse
fn clone(&self) -> PayInvoiceResponse
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 PayInvoiceResponse
impl Debug for PayInvoiceResponse
Source§impl<'de> Deserialize<'de> for PayInvoiceResponse
impl<'de> Deserialize<'de> for PayInvoiceResponse
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 Hash for PayInvoiceResponse
impl Hash for PayInvoiceResponse
Source§impl PartialEq for PayInvoiceResponse
impl PartialEq for PayInvoiceResponse
Source§impl Serialize for PayInvoiceResponse
impl Serialize for PayInvoiceResponse
impl Eq for PayInvoiceResponse
impl StructuralPartialEq for PayInvoiceResponse
Auto Trait Implementations§
impl Freeze for PayInvoiceResponse
impl RefUnwindSafe for PayInvoiceResponse
impl Send for PayInvoiceResponse
impl Sync for PayInvoiceResponse
impl Unpin for PayInvoiceResponse
impl UnwindSafe for PayInvoiceResponse
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