pub struct PreflightPayInvoiceResponse {
pub amount: Amount,
pub fees: Amount,
pub route: LxRoute,
}Fields§
§amount: AmountThe total amount to-be-paid for the pre-flighted Invoice,
excluding the fees.
This value may be different from the value originally requested if
we had to reach htlc_minimum_msat for some intermediate hops.
fees: AmountThe total amount of fees to-be-paid for the pre-flighted Invoice.
route: LxRouteThe route this invoice will be paid over.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PreflightPayInvoiceResponse
impl<'de> Deserialize<'de> for PreflightPayInvoiceResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreflightPayInvoiceResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreflightPayInvoiceResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PreflightPayInvoiceResponse
impl Serialize for PreflightPayInvoiceResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PreflightPayInvoiceResponse
impl RefUnwindSafe for PreflightPayInvoiceResponse
impl Send for PreflightPayInvoiceResponse
impl Sync for PreflightPayInvoiceResponse
impl Unpin for PreflightPayInvoiceResponse
impl UnsafeUnpin for PreflightPayInvoiceResponse
impl UnwindSafe for PreflightPayInvoiceResponse
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