pub enum TickDirection {
PlusTick,
ZeroPlusTick,
MinusTick,
ZeroMinusTick,
}Expand description
Direction of the last price change (tickDirection).
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
impl 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
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