Struct tinkoff_invest_types::Operation[][src]

pub struct Operation {
    pub id: String,
    pub status: OperationStatus,
    pub trades: Option<Vec<OperationTrade>>,
    pub commission: Option<MoneyAmount>,
    pub currency: Currency,
    pub payment: f64,
    pub price: Option<f64>,
    pub quantity: Option<u64>,
    pub figi: Option<String>,
    pub instrument_type: Option<InstrumentType>,
    pub is_margin_call: bool,
    pub date: String,
    pub operation_type: Option<OperationTypeWithCommission>,
}

Fields

id: Stringstatus: OperationStatustrades: Option<Vec<OperationTrade>>commission: Option<MoneyAmount>currency: Currencypayment: f64price: Option<f64>quantity: Option<u64>figi: Option<String>instrument_type: Option<InstrumentType>is_margin_call: booldate: Stringoperation_type: Option<OperationTypeWithCommission>

Trait Implementations

impl Clone for Operation[src]

impl Debug for Operation[src]

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

impl Serialize for Operation[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.