pub struct MeltQuote {
pub id: String,
pub unit: CurrencyUnit,
pub amount: Amount,
pub request: String,
pub fee_reserve: Amount,
pub state: MeltQuoteState,
pub expiry: u64,
pub payment_preimage: Option<String>,
pub payment_method: PaymentMethod,
}Expand description
Melt Quote Info
Fields§
§id: StringQuote id
unit: CurrencyUnitQuote unit
amount: AmountQuote amount
request: StringQuote Payment request e.g. bolt11
fee_reserve: AmountQuote fee reserve
state: MeltQuoteStateQuote state
expiry: u64Expiration time of quote
payment_preimage: Option<String>Payment preimage
payment_method: PaymentMethodPayment method
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MeltQuote
impl<'de> Deserialize<'de> for MeltQuote
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
impl Eq for MeltQuote
impl StructuralPartialEq for MeltQuote
Auto Trait Implementations§
impl Freeze for MeltQuote
impl RefUnwindSafe for MeltQuote
impl Send for MeltQuote
impl Sync for MeltQuote
impl Unpin for MeltQuote
impl UnwindSafe for MeltQuote
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