pub struct BuiltBuy {
pub transaction: UnsignedTransaction,
pub quote: BuyQuote,
pub limit_wei: U256,
pub deadline: u64,
}Expand description
A built buy with the quote it was priced from.
Fields§
§transaction: UnsignedTransactionReady to sign and send.
quote: BuyQuoteThe pricing it was built against.
limit_wei: U256The minAmountOut (or maxAmountIn) actually encoded.
deadline: u64Unix second after which the contract rejects the swap.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuiltBuy
impl RefUnwindSafe for BuiltBuy
impl Send for BuiltBuy
impl Sync for BuiltBuy
impl Unpin for BuiltBuy
impl UnsafeUnpin for BuiltBuy
impl UnwindSafe for BuiltBuy
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