pub enum LiquidityPoolState {
Active,
StopHunted,
BrokenThrough,
Reclaimed,
}Expand description
Lifecycle state of a LiquidityPool: explicitly distinguishes a stop hunt (price pierced
the pool then closed back inside — liquidity taken, no sustained follow-through) from a
breakout (price pierced and closed beyond, i.e. sustained), and a subsequent reclaim (a prior
breakout later reverses back through the level).
Variants§
Trait Implementations§
Source§impl Clone for LiquidityPoolState
impl Clone for LiquidityPoolState
Source§fn clone(&self) -> LiquidityPoolState
fn clone(&self) -> LiquidityPoolState
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 LiquidityPoolState
Source§impl Debug for LiquidityPoolState
impl Debug for LiquidityPoolState
impl Eq for LiquidityPoolState
Source§impl PartialEq for LiquidityPoolState
impl PartialEq for LiquidityPoolState
impl StructuralPartialEq for LiquidityPoolState
Auto Trait Implementations§
impl Freeze for LiquidityPoolState
impl RefUnwindSafe for LiquidityPoolState
impl Send for LiquidityPoolState
impl Sync for LiquidityPoolState
impl Unpin for LiquidityPoolState
impl UnsafeUnpin for LiquidityPoolState
impl UnwindSafe for LiquidityPoolState
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