pub struct InvoicePreviewResponse {
pub invoice: Invoice,
}Expand description
Response containing a previewed invoice.
This struct represents the API response for the invoice preview endpoint. The response contains the same Invoice structure as other invoice endpoints.
Fields§
§invoice: InvoiceTrait Implementations§
Source§impl Clone for InvoicePreviewResponse
impl Clone for InvoicePreviewResponse
Source§fn clone(&self) -> InvoicePreviewResponse
fn clone(&self) -> InvoicePreviewResponse
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 InvoicePreviewResponse
impl Debug for InvoicePreviewResponse
Source§impl<'de> Deserialize<'de> for InvoicePreviewResponse
impl<'de> Deserialize<'de> for InvoicePreviewResponse
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 InvoicePreviewResponse
impl RefUnwindSafe for InvoicePreviewResponse
impl Send for InvoicePreviewResponse
impl Sync for InvoicePreviewResponse
impl Unpin for InvoicePreviewResponse
impl UnwindSafe for InvoicePreviewResponse
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