pub enum FractionalOrderRestriction {
MarketOnly,
MarketAndLimit,
All,
}Expand description
Fractional order type restrictions.
Variants§
MarketOnly
Only market orders allowed.
MarketAndLimit
Market and limit orders allowed.
All
All order types allowed.
Trait Implementations§
Source§impl Clone for FractionalOrderRestriction
impl Clone for FractionalOrderRestriction
Source§fn clone(&self) -> FractionalOrderRestriction
fn clone(&self) -> FractionalOrderRestriction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FractionalOrderRestriction
impl Debug for FractionalOrderRestriction
Source§impl Default for FractionalOrderRestriction
impl Default for FractionalOrderRestriction
Source§fn default() -> FractionalOrderRestriction
fn default() -> FractionalOrderRestriction
Returns the “default value” for a type. Read more
impl Copy for FractionalOrderRestriction
impl Eq for FractionalOrderRestriction
impl StructuralPartialEq for FractionalOrderRestriction
Auto Trait Implementations§
impl Freeze for FractionalOrderRestriction
impl RefUnwindSafe for FractionalOrderRestriction
impl Send for FractionalOrderRestriction
impl Sync for FractionalOrderRestriction
impl Unpin for FractionalOrderRestriction
impl UnwindSafe for FractionalOrderRestriction
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