pub struct GetPayTradeHistoryResponseDataInner {
pub order_type: Option<String>,
pub transaction_id: Option<String>,
pub transaction_time: Option<i64>,
pub amount: Option<String>,
pub currency: Option<String>,
pub wallet_type: Option<i64>,
pub wallet_types: Option<Vec<i64>>,
pub funds_detail: Option<Vec<GetPayTradeHistoryResponseDataInnerFundsDetailInner>>,
pub payer_info: Option<Box<GetPayTradeHistoryResponseDataInnerPayerInfo>>,
pub receiver_info: Option<Box<GetPayTradeHistoryResponseDataInnerReceiverInfo>>,
}Fields§
§order_type: Option<String>Order type. Enum: PAY, PAY_REFUND, C2C, CRYPTO_BOX, CRYPTO_BOX_RF, C2C_HOLDING, C2C_HOLDING_RF, PAYOUT, REMITTANCE.
transaction_id: Option<String>Transaction ID.
transaction_time: Option<i64>Trade timestamp.
amount: Option<String>Order amount (up to 8 decimal places). Positive means income; negative means expenditure.
currency: Option<String>Order asset.
wallet_type: Option<i64>Main wallet type: 1=funding wallet, 2=spot wallet, 3=fiat wallet, 4 or 6=card payment, 5=earn wallet.
wallet_types: Option<Vec<i64>>Array format of wallet types. Multiple values may appear for combined payments.
funds_detail: Option<Vec<GetPayTradeHistoryResponseDataInnerFundsDetailInner>>Funds usage details.
payer_info: Option<Box<GetPayTradeHistoryResponseDataInnerPayerInfo>>§receiver_info: Option<Box<GetPayTradeHistoryResponseDataInnerReceiverInfo>>Implementations§
Trait Implementations§
Source§impl Clone for GetPayTradeHistoryResponseDataInner
impl Clone for GetPayTradeHistoryResponseDataInner
Source§fn clone(&self) -> GetPayTradeHistoryResponseDataInner
fn clone(&self) -> GetPayTradeHistoryResponseDataInner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GetPayTradeHistoryResponseDataInner
impl Default for GetPayTradeHistoryResponseDataInner
Source§fn default() -> GetPayTradeHistoryResponseDataInner
fn default() -> GetPayTradeHistoryResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetPayTradeHistoryResponseDataInner
impl<'de> Deserialize<'de> for GetPayTradeHistoryResponseDataInner
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
impl StructuralPartialEq for GetPayTradeHistoryResponseDataInner
Auto Trait Implementations§
impl Freeze for GetPayTradeHistoryResponseDataInner
impl RefUnwindSafe for GetPayTradeHistoryResponseDataInner
impl Send for GetPayTradeHistoryResponseDataInner
impl Sync for GetPayTradeHistoryResponseDataInner
impl Unpin for GetPayTradeHistoryResponseDataInner
impl UnsafeUnpin for GetPayTradeHistoryResponseDataInner
impl UnwindSafe for GetPayTradeHistoryResponseDataInner
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