pub struct Account {
pub account_id: String,
pub account_type: Option<String>,
pub currency: Option<String>,
pub name: Option<String>,
pub status: Option<String>,
}Expand description
A trading account on TradeStation.
Returned by Client::get_accounts.
Fields§
§account_id: StringUnique account identifier.
account_type: Option<String>Account type (e.g., “Margin”, “Cash”, “Futures”).
currency: Option<String>Currency (e.g., “USD”).
name: Option<String>Account display name.
status: Option<String>Account status (e.g., “Active”, “Closed”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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