pub struct FootprintLevel {
pub level: i64,
pub bid: f64,
pub ask: f64,
pub unknown: f64,
}Expand description
Executed volume at one grouped price, with sells on the bid and buys on the ask.
Fields§
§level: i64Integer price level, in multiples of Footprint::price_step.
bid: f64Sell aggressor volume.
ask: f64Buy aggressor volume.
unknown: f64Volume whose aggressor is unknown. Never assigned to either side.
Implementations§
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 Default for FootprintLevel
impl Default for FootprintLevel
Source§fn default() -> FootprintLevel
fn default() -> FootprintLevel
Returns the “default value” for a type. Read more
Source§impl PartialEq for FootprintLevel
impl PartialEq 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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