pub struct OpenTimeStamp<T> { /* private fields */ }
Expand description
This ‘CandleComponent’ keeps track of the opening timestamp of a Candle, using the
same unit resolution as the underlying input of [TakerTrade.timestamp()
].
Trait Implementations§
source§impl CandleComponent<i64> for OpenTimeStamp<i64>
impl CandleComponent<i64> for OpenTimeStamp<i64>
source§impl<T: TakerTrade> CandleComponentUpdate<T> for OpenTimeStamp<i64>
impl<T: TakerTrade> CandleComponentUpdate<T> for OpenTimeStamp<i64>
source§impl<T: Clone> Clone for OpenTimeStamp<T>
impl<T: Clone> Clone for OpenTimeStamp<T>
source§fn clone(&self) -> OpenTimeStamp<T>
fn clone(&self) -> OpenTimeStamp<T>
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<T: Debug> Debug for OpenTimeStamp<T>
impl<T: Debug> Debug for OpenTimeStamp<T>
Auto Trait Implementations§
impl<T> Freeze for OpenTimeStamp<T>where
T: Freeze,
impl<T> RefUnwindSafe for OpenTimeStamp<T>where
T: RefUnwindSafe,
impl<T> Send for OpenTimeStamp<T>where
T: Send,
impl<T> Sync for OpenTimeStamp<T>where
T: Sync,
impl<T> Unpin for OpenTimeStamp<T>where
T: Unpin,
impl<T> UnwindSafe for OpenTimeStamp<T>where
T: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)