Struct three_commas_client::Account [−][src]
pub struct Account {Show 50 fields
pub id: AccountId,
pub auto_balance_period: u32,
pub auto_balance_portfolio_id: Option<u32>,
pub auto_balance_currency_change_limit: Option<u32>,
pub autobalance_enabled: bool,
pub hedge_mode_available: bool,
pub hedge_mode_enabled: bool,
pub is_locked: bool,
pub smart_trading_supported: bool,
pub stats_supported: bool,
pub trading_supported: bool,
pub market_buy_supported: bool,
pub market_sell_supported: bool,
pub conditional_buy_supported: bool,
pub bots_allowed: bool,
pub bots_ttp_allowed: bool,
pub bots_tsl_allowed: bool,
pub gordon_bots_available: bool,
pub multi_bots_allowed: bool,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub last_auto_balance: Option<DateTime<Utc>>,
pub fast_convert_available: bool,
pub grid_bots_allowed: bool,
pub api_key_invalid: bool,
pub deposit_enabled: bool,
pub supported_market_types: Vec<String, Global>,
pub api_key: Option<String>,
pub name: String,
pub auto_balance_method: Option<AutoBalanceMethod>,
pub auto_balance_error: Option<String>,
pub customer_id: Option<String>,
pub subaccount_name: Option<String>,
pub lock_reason: Option<String>,
pub btc_amount: Decimal,
pub usd_amount: Decimal,
pub day_profit_btc: Decimal,
pub day_profit_usd: Decimal,
pub day_profit_btc_percentage: Decimal,
pub day_profit_usd_percentage: Decimal,
pub btc_profit: Decimal,
pub usd_profit: Decimal,
pub usd_profit_percentage: Decimal,
pub btc_profit_percentage: Decimal,
pub total_btc_profit: Decimal,
pub total_usd_profit: Decimal,
pub pretty_display_type: String,
pub exchange_name: String,
pub market_code: String,
pub address: Option<String>,
}Fields
id: AccountIdauto_balance_period: u32auto_balance_portfolio_id: Option<u32>auto_balance_currency_change_limit: Option<u32>autobalance_enabled: boolhedge_mode_available: boolhedge_mode_enabled: boolis_locked: boolsmart_trading_supported: boolstats_supported: booltrading_supported: boolmarket_buy_supported: boolmarket_sell_supported: boolconditional_buy_supported: boolbots_allowed: boolbots_ttp_allowed: boolbots_tsl_allowed: boolgordon_bots_available: boolmulti_bots_allowed: boolcreated_at: Option<DateTime<Utc>>updated_at: Option<DateTime<Utc>>last_auto_balance: Option<DateTime<Utc>>fast_convert_available: boolSell all to USD/BTC possibility
grid_bots_allowed: boolapi_key_invalid: booldeposit_enabled: boolsupported_market_types: Vec<String, Global>api_key: Option<String>name: Stringauto_balance_method: Option<AutoBalanceMethod>auto_balance_error: Option<String>customer_id: Option<String>subaccount_name: Option<String>lock_reason: Option<String>btc_amount: Decimalusd_amount: Decimalday_profit_btc: Decimalday_profit_usd: Decimalday_profit_btc_percentage: Decimalday_profit_usd_percentage: Decimalbtc_profit: DecimalMonth period
usd_profit: DecimalMonth period
usd_profit_percentage: DecimalMonth period
btc_profit_percentage: DecimalMonth period
total_btc_profit: Decimaltotal_usd_profit: Decimalpretty_display_type: Stringexchange_name: Stringmarket_code: Stringaddress: Option<String>Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Account, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Account, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Account
impl UnwindSafe for Account
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more