pub struct WalletBalancesDto {
pub balances: Vec<WalletBalanceDetailDto>,
pub total_balances_in_usd: String,
pub total_profit_in_usd: String,
}Expand description
WalletBalancesDto
JSON schema
{
"type": "object",
"required": [
"balances",
"totalBalancesInUsd",
"totalProfitInUsd"
],
"properties": {
"balances": {
"description": "DTO.WALLET.BALANCES.BALANCES.DETAIL",
"type": "array",
"items": {
"$ref": "#/components/schemas/WalletBalanceDetailDTO"
}
},
"totalBalancesInUsd": {
"description": "DTO.WALLET.BALANCES.TOTAL_BALANCES_IN_USD",
"examples": [
"1000000"
],
"type": "string"
},
"totalProfitInUsd": {
"description": "DTO.WALLET.BALANCES.TOTAL_PROFIT_IN_USD",
"examples": [
"1000000"
],
"type": "string"
}
}
}Fields§
§balances: Vec<WalletBalanceDetailDto>DTO.WALLET.BALANCES.BALANCES.DETAIL
total_balances_in_usd: StringDTO.WALLET.BALANCES.TOTAL_BALANCES_IN_USD
total_profit_in_usd: StringDTO.WALLET.BALANCES.TOTAL_PROFIT_IN_USD
Implementations§
Source§impl WalletBalancesDto
impl WalletBalancesDto
pub fn builder() -> WalletBalancesDto
Trait Implementations§
Source§impl Clone for WalletBalancesDto
impl Clone for WalletBalancesDto
Source§fn clone(&self) -> WalletBalancesDto
fn clone(&self) -> WalletBalancesDto
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 WalletBalancesDto
impl Debug for WalletBalancesDto
Source§impl<'de> Deserialize<'de> for WalletBalancesDto
impl<'de> Deserialize<'de> for WalletBalancesDto
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<&WalletBalancesDto> for WalletBalancesDto
impl From<&WalletBalancesDto> for WalletBalancesDto
Source§fn from(value: &WalletBalancesDto) -> Self
fn from(value: &WalletBalancesDto) -> Self
Converts to this type from the input type.
Source§impl From<WalletBalancesDto> for WalletBalancesDto
impl From<WalletBalancesDto> for WalletBalancesDto
Source§fn from(value: WalletBalancesDto) -> Self
fn from(value: WalletBalancesDto) -> Self
Converts to this type from the input type.
Source§impl Serialize for WalletBalancesDto
impl Serialize for WalletBalancesDto
Source§impl TryFrom<WalletBalancesDto> for WalletBalancesDto
impl TryFrom<WalletBalancesDto> for WalletBalancesDto
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletBalancesDto) -> Result<Self, ConversionError>
fn try_from(value: WalletBalancesDto) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletBalancesDto
impl RefUnwindSafe for WalletBalancesDto
impl Send for WalletBalancesDto
impl Sync for WalletBalancesDto
impl Unpin for WalletBalancesDto
impl UnwindSafe for WalletBalancesDto
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