pub enum TickDirection {
PlusTick,
ZeroPlusTick,
MinusTick,
ZeroMinusTick,
}Variants§
PlusTick
price rise
ZeroPlusTick
trade occurs at the same price as the previous trade, which occurred at a price higher than that for the trade preceding it
MinusTick
price drop
ZeroMinusTick
trade occurs at the same price as the previous trade, which occurred at a price lower than that for the trade preceding it
Trait Implementations§
Source§impl Clone for TickDirection
impl Clone for TickDirection
Source§fn clone(&self) -> TickDirection
fn clone(&self) -> TickDirection
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 moreimpl Copy for TickDirection
Source§impl Debug for TickDirection
impl Debug for TickDirection
Source§impl<'de> Deserialize<'de> for TickDirection
impl<'de> Deserialize<'de> for TickDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TickDirection
impl PartialEq for TickDirection
Source§fn eq(&self, other: &TickDirection) -> bool
fn eq(&self, other: &TickDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TickDirection
Auto Trait Implementations§
impl Freeze for TickDirection
impl RefUnwindSafe for TickDirection
impl Send for TickDirection
impl Sync for TickDirection
impl Unpin for TickDirection
impl UnsafeUnpin for TickDirection
impl UnwindSafe for TickDirection
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