pub struct DepthCycle {
pub period_ms: f64,
pub cycles: usize,
pub cv: f64,
}Expand description
A side of the book refilled at a near-fixed period and drained between the refills: a bot quoting on a timer.
Fields§
§period_ms: f64Mean time between refills, in milliseconds.
cycles: usizeWhole cycles seen (refills after the first).
cv: f64Coefficient of variation of the periods.
Trait Implementations§
Source§impl Clone for DepthCycle
impl Clone for DepthCycle
Source§impl Debug for DepthCycle
impl Debug for DepthCycle
Source§impl PartialEq for DepthCycle
impl PartialEq for DepthCycle
Source§impl Serialize for DepthCycle
impl Serialize for DepthCycle
impl StructuralPartialEq for DepthCycle
Auto Trait Implementations§
impl Freeze for DepthCycle
impl RefUnwindSafe for DepthCycle
impl Send for DepthCycle
impl Sync for DepthCycle
impl Unpin for DepthCycle
impl UnsafeUnpin for DepthCycle
impl UnwindSafe for DepthCycle
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