pub struct SwapStepResult {
pub sqrt_ratio_next_x96: U160,
pub amount_in: U256,
pub amount_out: U256,
pub fee_amount: U256,
}Fields§
§sqrt_ratio_next_x96: U160§amount_in: U256§amount_out: U256§fee_amount: U256Trait Implementations§
Source§impl Clone for SwapStepResult
impl Clone for SwapStepResult
Source§fn clone(&self) -> SwapStepResult
fn clone(&self) -> SwapStepResult
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 SwapStepResult
impl RefUnwindSafe for SwapStepResult
impl Send for SwapStepResult
impl Sync for SwapStepResult
impl Unpin for SwapStepResult
impl UnsafeUnpin for SwapStepResult
impl UnwindSafe for SwapStepResult
Blanket Implementations§
impl<T> Allocation for T
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