pub struct Invoice {Show 23 fields
pub id: String,
pub merchant_id: String,
pub amount: f64,
pub currency: String,
pub status: String,
pub network: String,
pub crypto_currency: String,
pub crypto_amount: f64,
pub wallet_address: String,
pub customer_email: String,
pub customer_name: String,
pub merchant_order_id: String,
pub callback_url: String,
pub return_url: String,
pub metadata: Option<HashMap<String, Value>>,
pub payment_url: String,
pub tx_hash: String,
pub paid_amount: f64,
pub confirmations: i32,
pub required_confirmations: i32,
pub expires_at: String,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§merchant_id: String§amount: f64§currency: String§status: String§network: String§crypto_currency: String§crypto_amount: f64§wallet_address: String§customer_email: String§customer_name: String§merchant_order_id: String§callback_url: String§return_url: String§metadata: Option<HashMap<String, Value>>§payment_url: String§tx_hash: String§paid_amount: f64§confirmations: i32§required_confirmations: i32§expires_at: String§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Invoice
impl<'de> Deserialize<'de> for Invoice
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 Invoice
impl RefUnwindSafe for Invoice
impl Send for Invoice
impl Sync for Invoice
impl Unpin for Invoice
impl UnsafeUnpin for Invoice
impl UnwindSafe for Invoice
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