Enum fxoanda::CancellableOrderType
source · pub enum CancellableOrderType {
Limit,
Stop,
MarketIfTouched,
TakeProfit,
StopLoss,
TrailingStopLoss,
}
Expand description
The type of the Order.
Variants§
Trait Implementations§
source§impl Debug for CancellableOrderType
impl Debug for CancellableOrderType
source§impl<'de> Deserialize<'de> for CancellableOrderType
impl<'de> Deserialize<'de> for CancellableOrderType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CancellableOrderType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CancellableOrderType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CancellableOrderType
impl Display for CancellableOrderType
source§impl FromStr for CancellableOrderType
impl FromStr for CancellableOrderType
source§impl Serialize for CancellableOrderType
impl Serialize for CancellableOrderType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CancellableOrderType
impl RefUnwindSafe for CancellableOrderType
impl Send for CancellableOrderType
impl Sync for CancellableOrderType
impl Unpin for CancellableOrderType
impl UnwindSafe for CancellableOrderType
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