[][src]Struct rusty_backtest::ExitMarketInfo

pub struct ExitMarketInfo<'a> {
    pub index: i32,
    pub current_price: f64,
    pub index_in: i32,
    pub price_in: f64,
    pub holding: f64,
    pub inmarket: f64,
    pub data: &'a Vec<Vec<f64>>,
    pub diff: f64,
}

Fields

index: i32current_price: f64index_in: i32price_in: f64holding: f64inmarket: f64data: &'a Vec<Vec<f64>>diff: f64

Trait Implementations

impl<'a> Debug for ExitMarketInfo<'a>[src]

impl<'a> Serialize for ExitMarketInfo<'a>[src]

Auto Trait Implementations

impl<'a> Send for ExitMarketInfo<'a>

impl<'a> Unpin for ExitMarketInfo<'a>

impl<'a> Sync for ExitMarketInfo<'a>

impl<'a> UnwindSafe for ExitMarketInfo<'a>

impl<'a> RefUnwindSafe for ExitMarketInfo<'a>

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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