pub enum BarAggregation {
Time,
Tick,
Volume,
Dollar,
Second,
Minute,
Hour,
Day,
}Expand description
Bar aggregation type
Variants§
Time
Time-based aggregation.
Tick
Tick-based aggregation.
Volume
Volume-based aggregation.
Dollar
Dollar-based aggregation.
Second
Second-based aggregation.
Minute
Minute-based aggregation.
Hour
Hour-based aggregation.
Day
Day-based aggregation.
Trait Implementations§
Source§impl Clone for BarAggregation
impl Clone for BarAggregation
Source§fn clone(&self) -> BarAggregation
fn clone(&self) -> BarAggregation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BarAggregation
impl Debug for BarAggregation
Source§impl Hash for BarAggregation
impl Hash for BarAggregation
Source§impl PartialEq for BarAggregation
impl PartialEq for BarAggregation
impl Copy for BarAggregation
impl Eq for BarAggregation
impl StructuralPartialEq for BarAggregation
Auto Trait Implementations§
impl Freeze for BarAggregation
impl RefUnwindSafe for BarAggregation
impl Send for BarAggregation
impl Sync for BarAggregation
impl Unpin for BarAggregation
impl UnwindSafe for BarAggregation
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.