pub struct PaymentTransaction {
pub amount: i64,
pub currency: String,
pub status: PaymentTransactionStatus,
pub memo: Option<String>,
pub chain_id: Option<i64>,
pub wallet_address: Option<String>,
pub transaction_hash: Option<String>,
pub company_id: Option<Uuid>,
pub user_id: Option<Uuid>,
pub posted_at: Option<String>,
}Expand description
Payment transaction details
Fields§
§amount: i64§currency: String§status: PaymentTransactionStatus§memo: Option<String>§chain_id: Option<i64>§wallet_address: Option<String>§transaction_hash: Option<String>§company_id: Option<Uuid>§user_id: Option<Uuid>§posted_at: Option<String>Trait Implementations§
Source§impl Clone for PaymentTransaction
impl Clone for PaymentTransaction
Source§fn clone(&self) -> PaymentTransaction
fn clone(&self) -> PaymentTransaction
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 PaymentTransaction
impl Debug for PaymentTransaction
Source§impl<'de> Deserialize<'de> for PaymentTransaction
impl<'de> Deserialize<'de> for PaymentTransaction
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 PaymentTransaction
impl RefUnwindSafe for PaymentTransaction
impl Send for PaymentTransaction
impl Sync for PaymentTransaction
impl Unpin for PaymentTransaction
impl UnwindSafe for PaymentTransaction
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