pub struct SynchronizedBarPair {
pub timestamp: i64,
pub primary: Bar,
pub benchmark: Bar,
pub benchmark_source_timestamp: i64,
}Expand description
Synchronized bar pair for multi-series computations (e.g. Asset vs Benchmark).
Fields§
§timestamp: i64§primary: Bar§benchmark: Bar§benchmark_source_timestamp: i64Original timestamp of the benchmark sample, retained when forward-filled.
Trait Implementations§
Source§impl Clone for SynchronizedBarPair
impl Clone for SynchronizedBarPair
Source§fn clone(&self) -> SynchronizedBarPair
fn clone(&self) -> SynchronizedBarPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SynchronizedBarPair
impl Debug for SynchronizedBarPair
Source§impl PartialEq for SynchronizedBarPair
impl PartialEq for SynchronizedBarPair
impl StructuralPartialEq for SynchronizedBarPair
Auto Trait Implementations§
impl Freeze for SynchronizedBarPair
impl RefUnwindSafe for SynchronizedBarPair
impl Send for SynchronizedBarPair
impl Sync for SynchronizedBarPair
impl Unpin for SynchronizedBarPair
impl UnsafeUnpin for SynchronizedBarPair
impl UnwindSafe for SynchronizedBarPair
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