pub struct PaymentQuoteResponse {
pub request_lookup_id: Option<PaymentIdentifier>,
pub amount: Amount,
pub fee: Amount,
pub unit: CurrencyUnit,
pub state: MeltQuoteState,
}
Expand description
Payment quote response
Fields§
§request_lookup_id: Option<PaymentIdentifier>
Request look up id
amount: Amount
Amount
fee: Amount
Fee required for melt
unit: CurrencyUnit
Currency unit of amount
and fee
state: MeltQuoteState
Status
Trait Implementations§
Source§impl Clone for PaymentQuoteResponse
impl Clone for PaymentQuoteResponse
Source§fn clone(&self) -> PaymentQuoteResponse
fn clone(&self) -> PaymentQuoteResponse
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 PaymentQuoteResponse
impl Debug for PaymentQuoteResponse
Source§impl<'de> Deserialize<'de> for PaymentQuoteResponse
impl<'de> Deserialize<'de> for PaymentQuoteResponse
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 PaymentQuoteResponse
impl Hash for PaymentQuoteResponse
Source§impl PartialEq for PaymentQuoteResponse
impl PartialEq for PaymentQuoteResponse
Source§impl Serialize for PaymentQuoteResponse
impl Serialize for PaymentQuoteResponse
impl Eq for PaymentQuoteResponse
impl StructuralPartialEq for PaymentQuoteResponse
Auto Trait Implementations§
impl Freeze for PaymentQuoteResponse
impl RefUnwindSafe for PaymentQuoteResponse
impl Send for PaymentQuoteResponse
impl Sync for PaymentQuoteResponse
impl Unpin for PaymentQuoteResponse
impl UnwindSafe for PaymentQuoteResponse
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