pub struct SimpleEarnAccountResponse {
pub total_amount_in_btc: String,
pub total_amount_in_usdt: String,
pub total_flexible_amount_in_btc: String,
pub total_flexible_amount_in_usdt: String,
pub total_locked_in_btc: String,
pub total_locked_in_usdt: String,
}
Expand description
SimpleEarnAccountResponse
JSON schema
{
"type": "object",
"required": [
"totalAmountInBTC",
"totalAmountInUSDT",
"totalFlexibleAmountInBTC",
"totalFlexibleAmountInUSDT",
"totalLockedInBTC",
"totalLockedInUSDT"
],
"properties": {
"totalAmountInBTC": {
"examples": [
"0.01067982"
],
"type": "string"
},
"totalAmountInUSDT": {
"examples": [
"77.13289230"
],
"type": "string"
},
"totalFlexibleAmountInBTC": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalFlexibleAmountInUSDT": {
"examples": [
"0.00000000"
],
"type": "string"
},
"totalLockedInBTC": {
"examples": [
"0.01067982"
],
"type": "string"
},
"totalLockedInUSDT": {
"examples": [
"77.13289230"
],
"type": "string"
}
}
}
Fields§
§total_amount_in_btc: String
§total_amount_in_usdt: String
§total_flexible_amount_in_btc: String
§total_flexible_amount_in_usdt: String
§total_locked_in_btc: String
§total_locked_in_usdt: String
Trait Implementations§
Source§impl Clone for SimpleEarnAccountResponse
impl Clone for SimpleEarnAccountResponse
Source§fn clone(&self) -> SimpleEarnAccountResponse
fn clone(&self) -> SimpleEarnAccountResponse
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 SimpleEarnAccountResponse
impl Debug for SimpleEarnAccountResponse
Source§impl<'de> Deserialize<'de> for SimpleEarnAccountResponse
impl<'de> Deserialize<'de> for SimpleEarnAccountResponse
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<&SimpleEarnAccountResponse> for SimpleEarnAccountResponse
impl From<&SimpleEarnAccountResponse> for SimpleEarnAccountResponse
Source§fn from(value: &SimpleEarnAccountResponse) -> Self
fn from(value: &SimpleEarnAccountResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleEarnAccountResponse
impl RefUnwindSafe for SimpleEarnAccountResponse
impl Send for SimpleEarnAccountResponse
impl Sync for SimpleEarnAccountResponse
impl Unpin for SimpleEarnAccountResponse
impl UnwindSafe for SimpleEarnAccountResponse
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