pub struct AmmConfig {
pub trade_fee_rate: u64,
pub protocol_fee_rate: u64,
pub ratio_change_tolerance_rate: u64,
}Fields§
§trade_fee_rate: u64§protocol_fee_rate: u64§ratio_change_tolerance_rate: u64Auto Trait Implementations§
impl Freeze for AmmConfig
impl RefUnwindSafe for AmmConfig
impl Send for AmmConfig
impl Sync for AmmConfig
impl Unpin for AmmConfig
impl UnsafeUnpin for AmmConfig
impl UnwindSafe for AmmConfig
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