pub struct Direction {
pub l1: Flow,
pub requoted: Flow,
/* private fields */
}Expand description
One trade direction’s before and after.
Fields§
§l1: Flow§requoted: FlowImplementations§
Source§impl Direction
impl Direction
The venue’s percentage of all flow here, on each side. None when nothing could be
priced, which a 0.0% would misreport.
Sourcepub const fn present(&self) -> bool
pub const fn present(&self) -> bool
Whether the venue was on either side, which is what makes the direction worth a row.
pub const fn unpriced(&self) -> bool
Sourcepub fn fully_unpriced(&self) -> bool
pub fn fully_unpriced(&self) -> bool
Nothing priceable, so the dollars are dropped: a $0 row reads as “worth nothing”.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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