pub struct UpbitAccount {
pub currency: SmartString,
pub balance: SmartString,
pub locked: SmartString,
pub avg_buy_price: SmartString,
pub avg_buy_price_modified: bool,
pub unit_currency: SmartString,
}Expand description
Account balance information
Fields§
§currency: SmartStringCurrency code (e.g., “KRW”, “BTC”)
balance: SmartStringAvailable balance for trading
locked: SmartStringLocked balance in orders
avg_buy_price: SmartStringAverage buy price
avg_buy_price_modified: boolWhether average buy price was modified
unit_currency: SmartStringUnit currency for average price
Trait Implementations§
Source§impl Clone for UpbitAccount
impl Clone for UpbitAccount
Source§fn clone(&self) -> UpbitAccount
fn clone(&self) -> UpbitAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpbitAccount
impl Debug for UpbitAccount
Source§impl<'de> Deserialize<'de> for UpbitAccount
impl<'de> Deserialize<'de> for UpbitAccount
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
Auto Trait Implementations§
impl Freeze for UpbitAccount
impl RefUnwindSafe for UpbitAccount
impl Send for UpbitAccount
impl Sync for UpbitAccount
impl Unpin for UpbitAccount
impl UnwindSafe for UpbitAccount
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