Struct tastyworks::api::transactions::ReceiveDeliverItem[][src]

pub struct ReceiveDeliverItem {
    pub id: u32,
    pub symbol: String,
    pub instrument_type: String,
    pub transaction_type: String,
    pub transaction_sub_type: String,
    pub executed_at: DateTime<FixedOffset>,
    pub action: Option<TradeAction>,
    pub underlying_symbol: String,
    pub value_effect: ValueEffect,
    pub quantity: Decimal,
    // some fields omitted
}

Fields

id: u32symbol: Stringinstrument_type: Stringtransaction_type: Stringtransaction_sub_type: Stringexecuted_at: DateTime<FixedOffset>action: Option<TradeAction>underlying_symbol: Stringvalue_effect: ValueEffectquantity: Decimal

Implementations

impl ReceiveDeliverItem[src]

pub fn value(&self) -> Rational64[src]

pub fn expiration_date(&self) -> ExpirationDate[src]

pub fn underlying_symbol(&self) -> &str[src]

pub fn option_type(&self) -> OptionType[src]

pub fn strike_price(&self) -> Rational64[src]

Trait Implementations

impl Debug for ReceiveDeliverItem[src]

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

impl Eq for ReceiveDeliverItem[src]

impl PartialEq<ReceiveDeliverItem> for ReceiveDeliverItem[src]

impl Serialize for ReceiveDeliverItem[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,