pub struct FiatOrdersResponse {
pub code: String,
pub data: Vec<FiatOrdersResponseDataItem>,
pub message: String,
pub success: bool,
pub total: i32,
}
Expand description
FiatOrdersResponse
JSON schema
{
"type": "object",
"required": [
"code",
"data",
"message",
"success",
"total"
],
"properties": {
"code": {
"examples": [
"000000"
],
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"createTime",
"fiatCurrency",
"indicatedAmount",
"method",
"orderNo",
"status",
"totalFee",
"updateTime"
],
"properties": {
"amount": {
"examples": [
"10.00"
],
"type": "string"
},
"createTime": {
"examples": [
1626144956000
],
"type": "integer",
"format": "int64"
},
"fiatCurrency": {
"examples": [
"BRL"
],
"type": "string"
},
"indicatedAmount": {
"examples": [
"10.00"
],
"type": "string"
},
"method": {
"examples": [
"BankAccount"
],
"type": "string"
},
"orderNo": {
"examples": [
"7d76d611-0568-4f43-afb6-24cac7767365"
],
"type": "string"
},
"status": {
"description": "Processing, Failed, Successful, Finished, Refunding, Refunded, Refund Failed, Order Partial credit Stopped",
"examples": [
"Expired"
],
"type": "string"
},
"totalFee": {
"examples": [
"0.00"
],
"type": "string"
},
"updateTime": {
"examples": [
1626400907000
],
"type": "integer",
"format": "int64"
}
}
}
},
"message": {
"examples": [
"success"
],
"type": "string"
},
"success": {
"type": "boolean"
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§code: String
§data: Vec<FiatOrdersResponseDataItem>
§message: String
§success: bool
§total: i32
Trait Implementations§
Source§impl Clone for FiatOrdersResponse
impl Clone for FiatOrdersResponse
Source§fn clone(&self) -> FiatOrdersResponse
fn clone(&self) -> FiatOrdersResponse
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 FiatOrdersResponse
impl Debug for FiatOrdersResponse
Source§impl<'de> Deserialize<'de> for FiatOrdersResponse
impl<'de> Deserialize<'de> for FiatOrdersResponse
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<&FiatOrdersResponse> for FiatOrdersResponse
impl From<&FiatOrdersResponse> for FiatOrdersResponse
Source§fn from(value: &FiatOrdersResponse) -> Self
fn from(value: &FiatOrdersResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FiatOrdersResponse
impl RefUnwindSafe for FiatOrdersResponse
impl Send for FiatOrdersResponse
impl Sync for FiatOrdersResponse
impl Unpin for FiatOrdersResponse
impl UnwindSafe for FiatOrdersResponse
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