pub enum MismatchDirection {
ExpectedIncrement,
ExpectedDecrement,
}Expand description
Expected chronological direction of a bar sequence.
Variants§
ExpectedIncrement
Timestamps must be strictly increasing (oldest first).
ExpectedDecrement
Timestamps must be strictly decreasing (newest first).
Trait Implementations§
Source§impl Clone for MismatchDirection
impl Clone for MismatchDirection
Source§fn clone(&self) -> MismatchDirection
fn clone(&self) -> MismatchDirection
Returns a duplicate 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 Debug for MismatchDirection
impl Debug for MismatchDirection
Source§impl PartialEq for MismatchDirection
impl PartialEq for MismatchDirection
impl Copy for MismatchDirection
impl Eq for MismatchDirection
impl StructuralPartialEq for MismatchDirection
Auto Trait Implementations§
impl Freeze for MismatchDirection
impl RefUnwindSafe for MismatchDirection
impl Send for MismatchDirection
impl Sync for MismatchDirection
impl Unpin for MismatchDirection
impl UnsafeUnpin for MismatchDirection
impl UnwindSafe for MismatchDirection
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