pub struct FiatPaymentsResponseDataItem {
pub create_time: i64,
pub crypto_currency: String,
pub fiat_currency: String,
pub obtain_amount: String,
pub order_no: String,
pub price: String,
pub source_amount: String,
pub status: String,
pub total_fee: String,
pub update_time: i64,
}
Expand description
FiatPaymentsResponseDataItem
JSON schema
{
"type": "object",
"required": [
"createTime",
"cryptoCurrency",
"fiatCurrency",
"obtainAmount",
"orderNo",
"price",
"sourceAmount",
"status",
"totalFee",
"updateTime"
],
"properties": {
"createTime": {
"examples": [
1624529919000
],
"type": "integer",
"format": "int64"
},
"cryptoCurrency": {
"description": "Crypto token",
"examples": [
"LUNA"
],
"type": "string"
},
"fiatCurrency": {
"description": "Fiat token",
"examples": [
"EUR"
],
"type": "string"
},
"obtainAmount": {
"description": "Crypto trade amount",
"examples": [
"4.462"
],
"type": "string"
},
"orderNo": {
"examples": [
"353fca443f06466db0c4dc89f94f027a"
],
"type": "string"
},
"price": {
"examples": [
"4.437472"
],
"type": "string"
},
"sourceAmount": {
"description": "Fiat trade amount",
"examples": [
"20.00"
],
"type": "string"
},
"status": {
"description": "Processing, Completed, Failed, Refunded",
"examples": [
"Failed"
],
"type": "string"
},
"totalFee": {
"description": "Trade fee",
"examples": [
"0.2"
],
"type": "string"
},
"updateTime": {
"examples": [
1624529919000
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§create_time: i64
§crypto_currency: String
Crypto token
fiat_currency: String
Fiat token
obtain_amount: String
Crypto trade amount
order_no: String
§price: String
§source_amount: String
Fiat trade amount
status: String
Processing, Completed, Failed, Refunded
total_fee: String
Trade fee
update_time: i64
Trait Implementations§
Source§impl Clone for FiatPaymentsResponseDataItem
impl Clone for FiatPaymentsResponseDataItem
Source§fn clone(&self) -> FiatPaymentsResponseDataItem
fn clone(&self) -> FiatPaymentsResponseDataItem
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 FiatPaymentsResponseDataItem
impl Debug for FiatPaymentsResponseDataItem
Source§impl<'de> Deserialize<'de> for FiatPaymentsResponseDataItem
impl<'de> Deserialize<'de> for FiatPaymentsResponseDataItem
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 From<&FiatPaymentsResponseDataItem> for FiatPaymentsResponseDataItem
impl From<&FiatPaymentsResponseDataItem> for FiatPaymentsResponseDataItem
Source§fn from(value: &FiatPaymentsResponseDataItem) -> Self
fn from(value: &FiatPaymentsResponseDataItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FiatPaymentsResponseDataItem
impl RefUnwindSafe for FiatPaymentsResponseDataItem
impl Send for FiatPaymentsResponseDataItem
impl Sync for FiatPaymentsResponseDataItem
impl Unpin for FiatPaymentsResponseDataItem
impl UnwindSafe for FiatPaymentsResponseDataItem
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