pub struct CapitalWithdrawHistoryResponseItem {Show 13 fields
pub address: String,
pub amount: String,
pub apply_time: String,
pub coin: String,
pub confirm_no: Option<i32>,
pub id: String,
pub info: Option<String>,
pub network: String,
pub status: i32,
pub transaction_fee: String,
pub transfer_type: i32,
pub tx_id: String,
pub withdraw_order_id: String,
}
Expand description
CapitalWithdrawHistoryResponseItem
JSON schema
{
"type": "object",
"required": [
"address",
"amount",
"applyTime",
"coin",
"id",
"network",
"status",
"transactionFee",
"transferType",
"txId",
"withdrawOrderId"
],
"properties": {
"address": {
"examples": [
"0x94df8b352de7f46f64b01d3666bf6e936e44ce60"
],
"type": "string"
},
"amount": {
"examples": [
"8.91000000"
],
"type": "string"
},
"applyTime": {
"examples": [
"2019-10-12 11:12:02"
],
"type": "string"
},
"coin": {
"examples": [
"USDT"
],
"type": "string"
},
"confirmNo": {
"examples": [
3
],
"type": "integer",
"format": "int32"
},
"id": {
"examples": [
"b6ae22b3aa844210a7041aee7589627c"
],
"type": "string"
},
"info": {
"description": "Reason for withdrawal failure",
"examples": [
"The address is not valid. Please confirm with the recipient"
],
"type": "string"
},
"network": {
"examples": [
"ETH"
],
"type": "string"
},
"status": {
"examples": [
6
],
"type": "integer",
"format": "int32"
},
"transactionFee": {
"examples": [
"0.004"
],
"type": "string"
},
"transferType": {
"description": "1 for internal transfer, 0 for external transfer",
"examples": [
0
],
"type": "integer",
"format": "int32"
},
"txId": {
"examples": [
"0xb5ef8c13b968a406cc62a93a8bd80f9e9a906ef1b3fcf20a2e48573c17659268"
],
"type": "string"
},
"withdrawOrderId": {
"description": "will not be returned if there's no withdrawOrderId for this withdraw.",
"examples": [
"WITHDRAWtest123"
],
"type": "string"
}
}
}
Fields§
§address: String
§amount: String
§apply_time: String
§coin: String
§confirm_no: Option<i32>
§id: String
§info: Option<String>
Reason for withdrawal failure
network: String
§status: i32
§transaction_fee: String
§transfer_type: i32
1 for internal transfer, 0 for external transfer
tx_id: String
§withdraw_order_id: String
will not be returned if there’s no withdrawOrderId for this withdraw.
Trait Implementations§
Source§impl Clone for CapitalWithdrawHistoryResponseItem
impl Clone for CapitalWithdrawHistoryResponseItem
Source§fn clone(&self) -> CapitalWithdrawHistoryResponseItem
fn clone(&self) -> CapitalWithdrawHistoryResponseItem
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<'de> Deserialize<'de> for CapitalWithdrawHistoryResponseItem
impl<'de> Deserialize<'de> for CapitalWithdrawHistoryResponseItem
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<&CapitalWithdrawHistoryResponseItem> for CapitalWithdrawHistoryResponseItem
impl From<&CapitalWithdrawHistoryResponseItem> for CapitalWithdrawHistoryResponseItem
Source§fn from(value: &CapitalWithdrawHistoryResponseItem) -> Self
fn from(value: &CapitalWithdrawHistoryResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CapitalWithdrawHistoryResponseItem
impl RefUnwindSafe for CapitalWithdrawHistoryResponseItem
impl Send for CapitalWithdrawHistoryResponseItem
impl Sync for CapitalWithdrawHistoryResponseItem
impl Unpin for CapitalWithdrawHistoryResponseItem
impl UnwindSafe for CapitalWithdrawHistoryResponseItem
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