#[repr(u8)]pub enum TriggerDirection {
UNKNOWN = 0,
Rise = 1,
Fall = 2,
}Expand description
Direction the price must move to trigger a conditional order (triggerDirection).
Variants§
UNKNOWN = 0
Not a conditional order.
Rise = 1
Triggered when the price rises to the trigger price.
Fall = 2
Triggered when the price falls to the trigger price.
Trait Implementations§
Source§impl Clone for TriggerDirection
impl Clone for TriggerDirection
impl Copy for TriggerDirection
Source§impl Debug for TriggerDirection
impl Debug for TriggerDirection
Source§impl<'de> Deserialize<'de> for TriggerDirection
impl<'de> Deserialize<'de> for TriggerDirection
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 TriggerDirection
impl PartialEq for TriggerDirection
Source§impl Serialize for TriggerDirection
impl Serialize for TriggerDirection
impl StructuralPartialEq for TriggerDirection
Auto Trait Implementations§
impl Freeze for TriggerDirection
impl RefUnwindSafe for TriggerDirection
impl Send for TriggerDirection
impl Sync for TriggerDirection
impl Unpin for TriggerDirection
impl UnsafeUnpin for TriggerDirection
impl UnwindSafe for TriggerDirection
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