pub struct ConvertExchangeInfoResponseItem {
pub from_asset: String,
pub from_asset_max_amount: String,
pub from_asset_min_amount: String,
pub to_asset: String,
pub to_asset_max_amount: String,
pub to_asset_min_amount: String,
}
Expand description
ConvertExchangeInfoResponseItem
JSON schema
{
"type": "object",
"required": [
"fromAsset",
"fromAssetMaxAmount",
"fromAssetMinAmount",
"toAsset",
"toAssetMaxAmount",
"toAssetMinAmount"
],
"properties": {
"fromAsset": {
"examples": [
"BTC"
],
"type": "string"
},
"fromAssetMaxAmount": {
"examples": [
"50"
],
"type": "string"
},
"fromAssetMinAmount": {
"examples": [
"0.0004"
],
"type": "string"
},
"toAsset": {
"examples": [
"USDT"
],
"type": "string"
},
"toAssetMaxAmount": {
"examples": [
"2500000"
],
"type": "string"
},
"toAssetMinAmount": {
"examples": [
"20"
],
"type": "string"
}
}
}
Fields§
§from_asset: String
§from_asset_max_amount: String
§from_asset_min_amount: String
§to_asset: String
§to_asset_max_amount: String
§to_asset_min_amount: String
Trait Implementations§
Source§impl Clone for ConvertExchangeInfoResponseItem
impl Clone for ConvertExchangeInfoResponseItem
Source§fn clone(&self) -> ConvertExchangeInfoResponseItem
fn clone(&self) -> ConvertExchangeInfoResponseItem
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 ConvertExchangeInfoResponseItem
impl<'de> Deserialize<'de> for ConvertExchangeInfoResponseItem
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<&ConvertExchangeInfoResponseItem> for ConvertExchangeInfoResponseItem
impl From<&ConvertExchangeInfoResponseItem> for ConvertExchangeInfoResponseItem
Source§fn from(value: &ConvertExchangeInfoResponseItem) -> Self
fn from(value: &ConvertExchangeInfoResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConvertExchangeInfoResponseItem
impl RefUnwindSafe for ConvertExchangeInfoResponseItem
impl Send for ConvertExchangeInfoResponseItem
impl Sync for ConvertExchangeInfoResponseItem
impl Unpin for ConvertExchangeInfoResponseItem
impl UnwindSafe for ConvertExchangeInfoResponseItem
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