pub struct USStockEntry {Show 23 fields
pub symbol: String,
pub full_symbol: String,
pub asset_type: String,
pub quantity: String,
pub currency: String,
pub average_cost: String,
pub market: String,
pub trade_status: String,
pub prev_close: String,
pub last_done: String,
pub market_price: String,
pub pretrade_close: String,
pub stock_invest_of_today: String,
pub today_pl: String,
pub pretrade_stock_invest_of_today: String,
pub pretrade_today_pl: String,
pub night_last_done: String,
pub night_prev_close: String,
pub position_side: String,
pub open_position_time: String,
pub name: String,
pub industry_counter_id: String,
pub industry_name: String,
}Expand description
One stock/equity position in USAssetOverview.
Fields§
§symbol: StringTicker code returned by the API (e.g. "AAPL"). See full_symbol for
the qualified form.
full_symbol: StringQualified user-facing symbol (e.g. "AAPL.US"), converted from
counter_id.
asset_type: String§quantity: String§currency: String§average_cost: String§market: String§trade_status: String§prev_close: String§last_done: String§market_price: String§pretrade_close: String§stock_invest_of_today: String§today_pl: String§pretrade_stock_invest_of_today: String§pretrade_today_pl: String§night_last_done: String§night_prev_close: String§position_side: String§open_position_time: String§name: String§industry_counter_id: String§industry_name: StringTrait Implementations§
Source§impl Clone for USStockEntry
impl Clone for USStockEntry
Source§fn clone(&self) -> USStockEntry
fn clone(&self) -> USStockEntry
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 USStockEntry
impl Debug for USStockEntry
Source§impl Default for USStockEntry
impl Default for USStockEntry
Source§fn default() -> USStockEntry
fn default() -> USStockEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for USStockEntry
impl<'de> Deserialize<'de> for USStockEntry
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 USStockEntry
impl RefUnwindSafe for USStockEntry
impl Send for USStockEntry
impl Sync for USStockEntry
impl Unpin for USStockEntry
impl UnsafeUnpin for USStockEntry
impl UnwindSafe for USStockEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more