pub struct BarSpecification {
pub aggregation: BarAggregation,
pub step: u64,
}Expand description
Bar specification
Fields§
§aggregation: BarAggregationThe aggregation type.
step: u64The aggregation step.
Implementations§
Source§impl BarSpecification
impl BarSpecification
Sourcepub const fn new(aggregation: BarAggregation, step: u64) -> Self
pub const fn new(aggregation: BarAggregation, step: u64) -> Self
Create a new bar specification
Trait Implementations§
Source§impl Clone for BarSpecification
impl Clone for BarSpecification
Source§fn clone(&self) -> BarSpecification
fn clone(&self) -> BarSpecification
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 BarSpecification
impl Debug for BarSpecification
Source§impl Hash for BarSpecification
impl Hash for BarSpecification
Source§impl PartialEq for BarSpecification
impl PartialEq for BarSpecification
impl Eq for BarSpecification
impl StructuralPartialEq for BarSpecification
Auto Trait Implementations§
impl Freeze for BarSpecification
impl RefUnwindSafe for BarSpecification
impl Send for BarSpecification
impl Sync for BarSpecification
impl Unpin for BarSpecification
impl UnwindSafe for BarSpecification
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.