pub struct SwapResultWithFromToLock {
pub from_amount: u64,
pub to_amount: u64,
pub trade_fee: u64,
pub protocol_fee: u64,
pub from_to_lock: u64,
}Fields§
§from_amount: u64§to_amount: u64§trade_fee: u64§protocol_fee: u64§from_to_lock: u64Auto Trait Implementations§
impl Freeze for SwapResultWithFromToLock
impl RefUnwindSafe for SwapResultWithFromToLock
impl Send for SwapResultWithFromToLock
impl Sync for SwapResultWithFromToLock
impl Unpin for SwapResultWithFromToLock
impl UnwindSafe for SwapResultWithFromToLock
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