Struct tinkoff_invest_types::PortfolioPosition[][src]

pub struct PortfolioPosition {
    pub figi: String,
    pub ticker: Option<String>,
    pub isin: Option<String>,
    pub instrument_type: InstrumentType,
    pub balance: f64,
    pub blocked: Option<f64>,
    pub expected_yield: Option<MoneyAmount>,
    pub lots: u64,
    pub average_position_price: Option<MoneyAmount>,
    pub average_position_price_no_nkd: Option<MoneyAmount>,
    pub name: String,
}

Fields

figi: Stringticker: Option<String>isin: Option<String>instrument_type: InstrumentTypebalance: f64blocked: Option<f64>expected_yield: Option<MoneyAmount>lots: u64average_position_price: Option<MoneyAmount>average_position_price_no_nkd: Option<MoneyAmount>name: String

Trait Implementations

impl Clone for PortfolioPosition[src]

impl Debug for PortfolioPosition[src]

impl<'de> Deserialize<'de> for PortfolioPosition[src]

impl Serialize for PortfolioPosition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.