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