pub enum FeeModelAny {
Fixed(FixedFeeModel),
MakerTaker(MakerTakerFeeModel),
}Variants§
Fixed(FixedFeeModel)
MakerTaker(MakerTakerFeeModel)
Trait Implementations§
Source§impl Clone for FeeModelAny
impl Clone for FeeModelAny
Source§fn clone(&self) -> FeeModelAny
fn clone(&self) -> FeeModelAny
Returns a copy 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 FeeModelAny
impl Debug for FeeModelAny
Source§impl Default for FeeModelAny
impl Default for FeeModelAny
Source§impl FeeModel for FeeModelAny
impl FeeModel for FeeModelAny
fn get_commission( &self, order: &OrderAny, fill_quantity: Quantity, fill_px: Price, instrument: &InstrumentAny, ) -> Result<Money>
Auto Trait Implementations§
impl Freeze for FeeModelAny
impl RefUnwindSafe for FeeModelAny
impl Send for FeeModelAny
impl Sync for FeeModelAny
impl Unpin for FeeModelAny
impl UnwindSafe for FeeModelAny
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