pub struct AccountObject {
pub stark_key: String,
pub position_id: String,
pub equity: String,
pub free_collateral: String,
pub pending_deposits: String,
pub pending_withdrawals: String,
pub open_positions: HashMap<String, PositionResponseObject>,
pub account_number: String,
pub id: String,
pub quote_balance: String,
}Fields§
§stark_key: String§position_id: String§equity: String§free_collateral: String§pending_deposits: String§pending_withdrawals: String§open_positions: HashMap<String, PositionResponseObject>§account_number: String§id: String§quote_balance: StringTrait Implementations§
Source§impl Clone for AccountObject
impl Clone for AccountObject
Source§fn clone(&self) -> AccountObject
fn clone(&self) -> AccountObject
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 AccountObject
impl Debug for AccountObject
Source§impl Default for AccountObject
impl Default for AccountObject
Source§fn default() -> AccountObject
fn default() -> AccountObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountObject
impl<'de> Deserialize<'de> for AccountObject
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 AccountObject
impl PartialEq for AccountObject
Source§impl Serialize for AccountObject
impl Serialize for AccountObject
impl StructuralPartialEq for AccountObject
Auto Trait Implementations§
impl Freeze for AccountObject
impl RefUnwindSafe for AccountObject
impl Send for AccountObject
impl Sync for AccountObject
impl Unpin for AccountObject
impl UnwindSafe for AccountObject
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