pub struct FixedFeeModel { /* private fields */ }
Implementations§
Source§impl FixedFeeModel
impl FixedFeeModel
Trait Implementations§
Source§impl Clone for FixedFeeModel
impl Clone for FixedFeeModel
Source§fn clone(&self) -> FixedFeeModel
fn clone(&self) -> FixedFeeModel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FixedFeeModel
impl Debug for FixedFeeModel
Source§impl FeeModel for FixedFeeModel
impl FeeModel for FixedFeeModel
Source§fn get_commission(
&self,
order: &OrderAny,
_fill_quantity: Quantity,
_fill_px: Price,
_instrument: &InstrumentAny,
) -> Result<Money>
fn get_commission( &self, order: &OrderAny, _fill_quantity: Quantity, _fill_px: Price, _instrument: &InstrumentAny, ) -> Result<Money>
Calculates commission for a fill. Read more
Auto Trait Implementations§
impl Freeze for FixedFeeModel
impl RefUnwindSafe for FixedFeeModel
impl Send for FixedFeeModel
impl Sync for FixedFeeModel
impl Unpin for FixedFeeModel
impl UnwindSafe for FixedFeeModel
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