pub struct AfterSwapResult {
pub success: bool,
pub hook_adjusted_amount_calculated_raw: BigInt,
}
Expand description
Result of after swap hook
Fields§
§success: bool
§hook_adjusted_amount_calculated_raw: BigInt
Trait Implementations§
Source§impl Clone for AfterSwapResult
impl Clone for AfterSwapResult
Source§fn clone(&self) -> AfterSwapResult
fn clone(&self) -> AfterSwapResult
Returns a duplicate of the value. Read more
1.0.0 · 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 AfterSwapResult
impl RefUnwindSafe for AfterSwapResult
impl Send for AfterSwapResult
impl Sync for AfterSwapResult
impl Unpin for AfterSwapResult
impl UnwindSafe for AfterSwapResult
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