pub struct CreateInvoiceResponse {
pub invoice: Invoice,
pub created_index: Option<PaymentCreatedIndex>,
}Fields§
§invoice: Invoice§created_index: Option<PaymentCreatedIndex>The PaymentCreatedIndex of the newly created invoice payment.
Is always Some starting at node-v0.8.10 and lsp-v0.8.11.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateInvoiceResponse
impl<'de> Deserialize<'de> for CreateInvoiceResponse
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 CreateInvoiceResponse
impl RefUnwindSafe for CreateInvoiceResponse
impl Send for CreateInvoiceResponse
impl Sync for CreateInvoiceResponse
impl Unpin for CreateInvoiceResponse
impl UnsafeUnpin for CreateInvoiceResponse
impl UnwindSafe for CreateInvoiceResponse
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