pub struct Flow {
pub legs: u64,
pub usd: f64,
pub without_amount: u64,
pub without_price: u64,
/* private fields */
}Expand description
What crossed the venue in one trade direction, on one side of the comparison.
Fields§
§legs: u64Hops through the venue; a swap crossing it twice counts twice.
usd: f64Those hops’ value in USD, from each hop’s inAmount. 0 when unpriced.
without_amount: u64Hops with no readable inAmount.
without_price: u64Hops in a mint the range could not price. Counted here rather than valued at zero.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Flow
impl Freeze for Flow
impl Move for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnsafeUnpin for Flow
impl UnwindSafe for Flow
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