pub struct PrivateAccountResponse {Show 58 fields
pub additional_reserve: Option<f64>,
pub available_funds: f64,
pub available_withdrawal_funds: f64,
pub balance: f64,
pub creation_timestamp: Option<i64>,
pub cross_collateral_enabled: Option<bool>,
pub currency: String,
pub delta_total: f64,
pub deposit_address: Option<String>,
pub email: String,
pub equity: f64,
pub estimated_liquidation_ratio: Option<f64>,
pub fee_balance: Option<f64>,
pub fees: Option<Vec<PrivateAccountResponseFees>>,
pub futures_pl: f64,
pub futures_session_rpl: f64,
pub futures_session_upl: f64,
pub has_non_block_chain_equity: Option<bool>,
pub id: i64,
pub initial_margin: f64,
pub interuser_transfers_enabled: Option<bool>,
pub limits: Option<HashMap<String, Value>>,
pub login_enabled: Option<bool>,
pub maintenance_margin: f64,
pub margin_balance: Option<f64>,
pub margin_model: Option<String>,
pub mmp_enabled: Option<bool>,
pub options_delta: f64,
pub options_gamma: f64,
pub options_gamma_map: HashMap<String, Value>,
pub options_pl: f64,
pub options_session_rpl: f64,
pub options_session_upl: f64,
pub options_theta: f64,
pub options_theta_map: HashMap<String, Value>,
pub options_value: f64,
pub options_vega: f64,
pub options_vega_map: HashMap<String, Value>,
pub portfolio_margining_enabled: Option<bool>,
pub projected_delta_total: f64,
pub projected_initial_margin: Option<f64>,
pub projected_maintenance_margin: f64,
pub referrer_id: Option<String>,
pub security_keys_enabled: bool,
pub self_trading_extended_to_subaccounts: Option<String>,
pub self_trading_reject_mode: Option<String>,
pub session_rpl: f64,
pub session_upl: f64,
pub spot_reserve: Option<f64>,
pub system_name: String,
pub total_delta_total_usd: Option<f64>,
pub total_equity_usd: Option<f64>,
pub total_initial_margin_usd: Option<f64>,
pub total_maintenance_margin_usd: Option<f64>,
pub total_margin_balance_usd: Option<f64>,
pub total_pl: f64,
pub type: PrivateAccountResponseType,
pub username: String,
}Fields§
§additional_reserve: Option<f64>§available_funds: f64§available_withdrawal_funds: f64§balance: f64§creation_timestamp: Option<i64>§cross_collateral_enabled: Option<bool>§currency: String§delta_total: f64§deposit_address: Option<String>§email: String§equity: f64§estimated_liquidation_ratio: Option<f64>§fee_balance: Option<f64>§fees: Option<Vec<PrivateAccountResponseFees>>§futures_pl: f64§futures_session_rpl: f64§futures_session_upl: f64§has_non_block_chain_equity: Option<bool>§id: i64§initial_margin: f64§interuser_transfers_enabled: Option<bool>§limits: Option<HashMap<String, Value>>§login_enabled: Option<bool>§maintenance_margin: f64§margin_balance: Option<f64>§margin_model: Option<String>§mmp_enabled: Option<bool>§options_delta: f64§options_gamma: f64§options_gamma_map: HashMap<String, Value>§options_pl: f64§options_session_rpl: f64§options_session_upl: f64§options_theta: f64§options_theta_map: HashMap<String, Value>§options_value: f64§options_vega: f64§options_vega_map: HashMap<String, Value>§portfolio_margining_enabled: Option<bool>§projected_delta_total: f64§projected_initial_margin: Option<f64>§projected_maintenance_margin: f64§referrer_id: Option<String>§security_keys_enabled: bool§self_trading_extended_to_subaccounts: Option<String>§self_trading_reject_mode: Option<String>§session_rpl: f64§session_upl: f64§spot_reserve: Option<f64>§system_name: String§total_delta_total_usd: Option<f64>§total_equity_usd: Option<f64>§total_initial_margin_usd: Option<f64>§total_maintenance_margin_usd: Option<f64>§total_margin_balance_usd: Option<f64>§total_pl: f64§type: PrivateAccountResponseType§username: StringTrait Implementations§
Source§impl Clone for PrivateAccountResponse
impl Clone for PrivateAccountResponse
Source§fn clone(&self) -> PrivateAccountResponse
fn clone(&self) -> PrivateAccountResponse
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 PrivateAccountResponse
impl Debug for PrivateAccountResponse
Source§impl Default for PrivateAccountResponse
impl Default for PrivateAccountResponse
Source§fn default() -> PrivateAccountResponse
fn default() -> PrivateAccountResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivateAccountResponse
impl<'de> Deserialize<'de> for PrivateAccountResponse
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 PartialEq for PrivateAccountResponse
impl PartialEq for PrivateAccountResponse
Source§impl Serialize for PrivateAccountResponse
impl Serialize for PrivateAccountResponse
impl StructuralPartialEq for PrivateAccountResponse
Auto Trait Implementations§
impl Freeze for PrivateAccountResponse
impl RefUnwindSafe for PrivateAccountResponse
impl Send for PrivateAccountResponse
impl Sync for PrivateAccountResponse
impl Unpin for PrivateAccountResponse
impl UnwindSafe for PrivateAccountResponse
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