pub struct ILLimitCandidate {
pub params: ILLimitParams,
pub expected_fees: Decimal,
pub expected_il: Decimal,
pub expected_rebalances: u32,
pub score: Decimal,
}Expand description
Candidate result for IL limit optimization.
Fields§
§params: ILLimitParamsThe parameters.
expected_fees: DecimalExpected fees.
expected_il: DecimalExpected IL.
expected_rebalances: u32Expected number of rebalances.
score: DecimalObjective score.
Trait Implementations§
Source§impl Clone for ILLimitCandidate
impl Clone for ILLimitCandidate
Source§fn clone(&self) -> ILLimitCandidate
fn clone(&self) -> ILLimitCandidate
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 moreAuto Trait Implementations§
impl Freeze for ILLimitCandidate
impl RefUnwindSafe for ILLimitCandidate
impl Send for ILLimitCandidate
impl Sync for ILLimitCandidate
impl Unpin for ILLimitCandidate
impl UnsafeUnpin for ILLimitCandidate
impl UnwindSafe for ILLimitCandidate
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