pub struct FootprintLevel {
pub price: f64,
pub bid_vol: f64,
pub ask_vol: f64,
}Expand description
One price bucket of a Footprint: the buy- and sell-initiated volume that
traded there since the last reset.
Fields§
§price: f64Bucket price (the bucket index times the tick size).
bid_vol: f64Sell-initiated (bid-hitting) volume traded at this bucket.
ask_vol: f64Buy-initiated (ask-lifting) volume traded at this bucket.
Trait Implementations§
Source§impl Clone for FootprintLevel
impl Clone for FootprintLevel
Source§fn clone(&self) -> FootprintLevel
fn clone(&self) -> FootprintLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FootprintLevel
impl Debug for FootprintLevel
Source§impl PartialEq for FootprintLevel
impl PartialEq for FootprintLevel
Source§fn eq(&self, other: &FootprintLevel) -> bool
fn eq(&self, other: &FootprintLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FootprintLevel
impl StructuralPartialEq for FootprintLevel
Auto Trait Implementations§
impl Freeze for FootprintLevel
impl RefUnwindSafe for FootprintLevel
impl Send for FootprintLevel
impl Sync for FootprintLevel
impl Unpin for FootprintLevel
impl UnsafeUnpin for FootprintLevel
impl UnwindSafe for FootprintLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more