pub struct PreflightPayInvoiceRequest {
pub invoice: Invoice,
pub fallback_amount: Option<Amount>,
}Fields§
§invoice: InvoiceThe invoice we want to pay.
fallback_amount: Option<Amount>Specifies the amount we will pay if the invoice to be paid is
amountless. This field must be Some for amountless invoices.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PreflightPayInvoiceRequest
impl<'de> Deserialize<'de> for PreflightPayInvoiceRequest
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
Auto Trait Implementations§
impl Freeze for PreflightPayInvoiceRequest
impl RefUnwindSafe for PreflightPayInvoiceRequest
impl Send for PreflightPayInvoiceRequest
impl Sync for PreflightPayInvoiceRequest
impl Unpin for PreflightPayInvoiceRequest
impl UnsafeUnpin for PreflightPayInvoiceRequest
impl UnwindSafe for PreflightPayInvoiceRequest
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