pub struct InvoiceResponse {
pub invoice_id: String,
pub amount: Amount,
pub state: InvoiceState,
pub created: String,
pub description: Option<String>,
pub issuer_id: String,
pub receiver_id: String,
}
Expand description
Invoice Response
Fields§
§invoice_id: String
Invoice ID
amount: Amount
Invoice Amount
state: InvoiceState
Invoice State
created: String
Created timestamp
description: Option<String>
Invoice Description
issuer_id: String
Isser ID
receiver_id: String
Receiver ID
Trait Implementations§
Source§impl Clone for InvoiceResponse
impl Clone for InvoiceResponse
Source§fn clone(&self) -> InvoiceResponse
fn clone(&self) -> InvoiceResponse
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 InvoiceResponse
impl Debug for InvoiceResponse
Source§impl<'de> Deserialize<'de> for InvoiceResponse
impl<'de> Deserialize<'de> for InvoiceResponse
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
Source§impl PartialEq for InvoiceResponse
impl PartialEq for InvoiceResponse
Source§impl Serialize for InvoiceResponse
impl Serialize for InvoiceResponse
impl StructuralPartialEq for InvoiceResponse
Auto Trait Implementations§
impl Freeze for InvoiceResponse
impl RefUnwindSafe for InvoiceResponse
impl Send for InvoiceResponse
impl Sync for InvoiceResponse
impl Unpin for InvoiceResponse
impl UnwindSafe for InvoiceResponse
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