pub struct MakePaymentResponse {
pub payment_lookup_id: PaymentIdentifier,
pub payment_proof: Option<String>,
pub status: MeltQuoteState,
pub total_spent: Amount,
pub unit: CurrencyUnit,
}
Expand description
Payment response
Fields§
§payment_lookup_id: PaymentIdentifier
Payment hash
payment_proof: Option<String>
Payment proof
status: MeltQuoteState
Status
total_spent: Amount
Total Amount Spent
unit: CurrencyUnit
Unit of total spent
Trait Implementations§
Source§impl Clone for MakePaymentResponse
impl Clone for MakePaymentResponse
Source§fn clone(&self) -> MakePaymentResponse
fn clone(&self) -> MakePaymentResponse
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 MakePaymentResponse
impl Debug for MakePaymentResponse
Source§impl<'de> Deserialize<'de> for MakePaymentResponse
impl<'de> Deserialize<'de> for MakePaymentResponse
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 MakePaymentResponse
impl Hash for MakePaymentResponse
Source§impl PartialEq for MakePaymentResponse
impl PartialEq for MakePaymentResponse
Source§impl Serialize for MakePaymentResponse
impl Serialize for MakePaymentResponse
impl Eq for MakePaymentResponse
impl StructuralPartialEq for MakePaymentResponse
Auto Trait Implementations§
impl Freeze for MakePaymentResponse
impl RefUnwindSafe for MakePaymentResponse
impl Send for MakePaymentResponse
impl Sync for MakePaymentResponse
impl Unpin for MakePaymentResponse
impl UnwindSafe for MakePaymentResponse
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