Struct LpClaimComponent
pub struct LpClaimComponent {
pub pool_share: f64,
pub entry_mu: f64,
pub entry_sigma: f64,
pub entry_k: f64,
}Expand description
A single LP deposit’s claim parameters.
Fields§
Fraction of the pool this deposit owns.
entry_mu: f64Market μ at deposit time.
entry_sigma: f64Market σ at deposit time.
entry_k: f64AMM k at deposit time.
Trait Implementations§
§impl Clone for LpClaimComponent
impl Clone for LpClaimComponent
§fn clone(&self) -> LpClaimComponent
fn clone(&self) -> LpClaimComponent
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 more§impl Debug for LpClaimComponent
impl Debug for LpClaimComponent
§impl PartialEq for LpClaimComponent
impl PartialEq for LpClaimComponent
§fn eq(&self, other: &LpClaimComponent) -> bool
fn eq(&self, other: &LpClaimComponent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LpClaimComponent
impl StructuralPartialEq for LpClaimComponent
Auto Trait Implementations§
impl Freeze for LpClaimComponent
impl RefUnwindSafe for LpClaimComponent
impl Send for LpClaimComponent
impl Sync for LpClaimComponent
impl Unpin for LpClaimComponent
impl UnsafeUnpin for LpClaimComponent
impl UnwindSafe for LpClaimComponent
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