Struct candlestick::Candlestick [−][src]
pub struct Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: Clone,
Interval: Clone,
Time: Clone,
Price: Clone,
Volume: Clone, {
pub instrument: Instrument,
pub interval: Interval,
pub time: Time,
pub open: Price,
pub high: Price,
pub low: Price,
pub close: Price,
pub volume: Volume,
}
Fields
instrument: Instrument
interval: Interval
time: Time
open: Price
high: Price
low: Price
close: Price
volume: Volume
Implementations
pub fn new(
instrument: Instrument,
interval: Interval,
time: Time,
open: Price,
high: Price,
low: Price,
close: Price,
volume: Volume
) -> Candlestick<Instrument, Interval, Time, Price, Volume>
Trait Implementations
Auto Trait Implementations
impl<Instrument, Interval, Time, Price, Volume> RefUnwindSafe for Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: RefUnwindSafe,
Interval: RefUnwindSafe,
Price: RefUnwindSafe,
Time: RefUnwindSafe,
Volume: RefUnwindSafe,
impl<Instrument, Interval, Time, Price, Volume> Send for Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: Send,
Interval: Send,
Price: Send,
Time: Send,
Volume: Send,
impl<Instrument, Interval, Time, Price, Volume> Sync for Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: Sync,
Interval: Sync,
Price: Sync,
Time: Sync,
Volume: Sync,
impl<Instrument, Interval, Time, Price, Volume> Unpin for Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: Unpin,
Interval: Unpin,
Price: Unpin,
Time: Unpin,
Volume: Unpin,
impl<Instrument, Interval, Time, Price, Volume> UnwindSafe for Candlestick<Instrument, Interval, Time, Price, Volume> where
Instrument: UnwindSafe,
Interval: UnwindSafe,
Price: UnwindSafe,
Time: UnwindSafe,
Volume: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more