pub struct MaxGap {
pub bid_gap_bps: Option<f64>,
pub ask_gap_bps: Option<f64>,
}Expand description
Largest consecutive-level price gap per side.
Fields§
§bid_gap_bps: Option<f64>Max bid-side gap in basis points (e.g. 25.0).
ask_gap_bps: Option<f64>Max ask-side gap in basis points (e.g. 25.0).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MaxGap
impl<'de> Deserialize<'de> for MaxGap
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MaxGap
impl RefUnwindSafe for MaxGap
impl Send for MaxGap
impl Sync for MaxGap
impl Unpin for MaxGap
impl UnsafeUnpin for MaxGap
impl UnwindSafe for MaxGap
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