pub enum FillModelAny {
Default(DefaultFillModel),
BestPrice(BestPriceFillModel),
OneTickSlippage(OneTickSlippageFillModel),
Probabilistic(ProbabilisticFillModel),
TwoTier(TwoTierFillModel),
ThreeTier(ThreeTierFillModel),
LimitOrderPartialFill(LimitOrderPartialFillModel),
SizeAware(SizeAwareFillModel),
CompetitionAware(CompetitionAwareFillModel),
VolumeSensitive(VolumeSensitiveFillModel),
MarketHours(MarketHoursFillModel),
}Variants§
Default(DefaultFillModel)
BestPrice(BestPriceFillModel)
OneTickSlippage(OneTickSlippageFillModel)
Probabilistic(ProbabilisticFillModel)
TwoTier(TwoTierFillModel)
ThreeTier(ThreeTierFillModel)
LimitOrderPartialFill(LimitOrderPartialFillModel)
SizeAware(SizeAwareFillModel)
CompetitionAware(CompetitionAwareFillModel)
VolumeSensitive(VolumeSensitiveFillModel)
MarketHours(MarketHoursFillModel)
Trait Implementations§
Source§impl Clone for FillModelAny
impl Clone for FillModelAny
Source§fn clone(&self) -> FillModelAny
fn clone(&self) -> FillModelAny
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 moreSource§impl Debug for FillModelAny
impl Debug for FillModelAny
Source§impl Default for FillModelAny
impl Default for FillModelAny
Source§impl Display for FillModelAny
impl Display for FillModelAny
Source§impl FillModel for FillModelAny
impl FillModel for FillModelAny
Source§fn is_limit_filled(&mut self) -> Result<bool>
fn is_limit_filled(&mut self) -> Result<bool>
Returns
true if a limit order should be filled based on the model. Read moreSource§fn fill_limit_inside_spread(&self) -> Result<bool>
fn fill_limit_inside_spread(&self) -> Result<bool>
Returns whether limit orders at or inside the spread are fillable. Read more
Source§impl From<FillModelAny> for FillModelHandle
impl From<FillModelAny> for FillModelHandle
Source§fn from(model: FillModelAny) -> Self
fn from(model: FillModelAny) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FillModelAny
impl RefUnwindSafe for FillModelAny
impl Send for FillModelAny
impl Sync for FillModelAny
impl Unpin for FillModelAny
impl UnsafeUnpin for FillModelAny
impl UnwindSafe for FillModelAny
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