pub struct TradeQuote {
pub base_amount: u64,
pub quote_amount: u64,
pub fee: u64,
}Fields§
§base_amount: u64§quote_amount: u64§fee: u64Platform fee, in quote units.
Trait Implementations§
Source§impl Clone for TradeQuote
impl Clone for TradeQuote
impl Copy for TradeQuote
Source§impl Debug for TradeQuote
impl Debug for TradeQuote
impl Eq for TradeQuote
Source§impl PartialEq for TradeQuote
impl PartialEq for TradeQuote
impl StructuralPartialEq for TradeQuote
Auto Trait Implementations§
impl Freeze for TradeQuote
impl RefUnwindSafe for TradeQuote
impl Send for TradeQuote
impl Sync for TradeQuote
impl Unpin for TradeQuote
impl UnsafeUnpin for TradeQuote
impl UnwindSafe for TradeQuote
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