Enum cfix::types::TimeInForce
source · #[repr(u32)]pub enum TimeInForce {
GoodTillCancel = 1,
ImmediateOrCancel = 3,
GoodTillDate = 6,
}
Variants§
Trait Implementations§
source§impl Debug for TimeInForce
impl Debug for TimeInForce
source§impl TryFrom<u32> for TimeInForce
impl TryFrom<u32> for TimeInForce
§type Error = TryFromPrimitiveError<TimeInForce>
type Error = TryFromPrimitiveError<TimeInForce>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for TimeInForce
impl TryFromPrimitive for TimeInForce
type Primitive = u32
type Error = TryFromPrimitiveError<TimeInForce>
const NAME: &'static str = "TimeInForce"
fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for TimeInForce
impl RefUnwindSafe for TimeInForce
impl Send for TimeInForce
impl Sync for TimeInForce
impl Unpin for TimeInForce
impl UnwindSafe for TimeInForce
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