pub struct PanicCloseConfig {
pub mode: PanicCloseMode,
pub limit_offset_bps: Decimal,
}Expand description
Configuration describing how panic-close orders should be sent.
Fields§
§mode: PanicCloseMode§limit_offset_bps: DecimalOffset applied to the observed mid price when using PanicCloseMode::AggressiveLimit (basis points).
Trait Implementations§
Source§impl Clone for PanicCloseConfig
impl Clone for PanicCloseConfig
Source§fn clone(&self) -> PanicCloseConfig
fn clone(&self) -> PanicCloseConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 PanicCloseConfig
impl Debug for PanicCloseConfig
Source§impl Default for PanicCloseConfig
impl Default for PanicCloseConfig
impl Copy for PanicCloseConfig
Auto Trait Implementations§
impl Freeze for PanicCloseConfig
impl RefUnwindSafe for PanicCloseConfig
impl Send for PanicCloseConfig
impl Sync for PanicCloseConfig
impl Unpin for PanicCloseConfig
impl UnwindSafe for PanicCloseConfig
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