pub struct SecuritiesAccount {
pub account_number: Option<String>,
pub round_trips: Option<i64>,
pub is_day_trader: Option<bool>,
pub is_closing_only_restricted: Option<bool>,
pub pfcb_flag: Option<bool>,
pub positions: Option<Vec<Position>>,
pub initial_balances: Option<Value>,
pub current_balances: Option<Value>,
pub projected_balances: Option<Value>,
}Fields§
§account_number: Option<String>§round_trips: Option<i64>§is_day_trader: Option<bool>§is_closing_only_restricted: Option<bool>§pfcb_flag: Option<bool>§positions: Option<Vec<Position>>§initial_balances: Option<Value>Balance shapes vary by account type (cash, margin, IRA); keep as JSON.
current_balances: Option<Value>§projected_balances: Option<Value>Trait Implementations§
Source§impl Clone for SecuritiesAccount
impl Clone for SecuritiesAccount
Source§fn clone(&self) -> SecuritiesAccount
fn clone(&self) -> SecuritiesAccount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecuritiesAccount
impl Debug for SecuritiesAccount
Source§impl<'de> Deserialize<'de> for SecuritiesAccount
impl<'de> Deserialize<'de> for SecuritiesAccount
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 SecuritiesAccount
impl RefUnwindSafe for SecuritiesAccount
impl Send for SecuritiesAccount
impl Sync for SecuritiesAccount
impl Unpin for SecuritiesAccount
impl UnsafeUnpin for SecuritiesAccount
impl UnwindSafe for SecuritiesAccount
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