pub struct Candlestick<Instrument, Interval, Time, Price, Volume>{
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§
Source§impl<Instrument, Interval, Time, Price, Volume> Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> Candlestick<Instrument, Interval, Time, Price, Volume>
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§
Source§impl<Instrument, Interval, Time, Price, Volume> Clone for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> Clone for Candlestick<Instrument, Interval, Time, Price, Volume>
Source§fn clone(&self) -> Candlestick<Instrument, Interval, Time, Price, Volume>
fn clone(&self) -> Candlestick<Instrument, Interval, Time, Price, Volume>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<Instrument, Interval, Time, Price, Volume> Debug for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> Debug for Candlestick<Instrument, Interval, Time, Price, Volume>
Auto Trait Implementations§
impl<Instrument, Interval, Time, Price, Volume> Freeze for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> RefUnwindSafe for Candlestick<Instrument, Interval, Time, Price, Volume>where
Instrument: RefUnwindSafe,
Interval: RefUnwindSafe,
Time: RefUnwindSafe,
Price: RefUnwindSafe,
Volume: RefUnwindSafe,
impl<Instrument, Interval, Time, Price, Volume> Send for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> Sync for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> Unpin for Candlestick<Instrument, Interval, Time, Price, Volume>
impl<Instrument, Interval, Time, Price, Volume> UnwindSafe for Candlestick<Instrument, Interval, Time, Price, Volume>where
Instrument: UnwindSafe,
Interval: UnwindSafe,
Time: UnwindSafe,
Price: UnwindSafe,
Volume: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more