pub struct GuardParams {
pub max_inventory_imbalance_per_m: i32,
pub max_a_inventory_per_m: u32,
pub max_b_inventory_per_m: u32,
pub min_spread_per_m: i32,
pub min_oracle_price: u128,
pub max_oracle_price: u128,
pub valid_until: u64,
}Fields§
§max_inventory_imbalance_per_m: i32§max_a_inventory_per_m: u32§max_b_inventory_per_m: u32§min_spread_per_m: i32§min_oracle_price: u128§max_oracle_price: u128§valid_until: u64Implementations§
Trait Implementations§
Source§impl Clone for GuardParams
impl Clone for GuardParams
Source§fn clone(&self) -> GuardParams
fn clone(&self) -> GuardParams
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 GuardParams
impl Debug for GuardParams
Source§impl PartialEq for GuardParams
impl PartialEq for GuardParams
Source§fn eq(&self, other: &GuardParams) -> bool
fn eq(&self, other: &GuardParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GuardParams
impl Eq for GuardParams
impl StructuralPartialEq for GuardParams
Auto Trait Implementations§
impl Freeze for GuardParams
impl RefUnwindSafe for GuardParams
impl Send for GuardParams
impl Sync for GuardParams
impl Unpin for GuardParams
impl UnsafeUnpin for GuardParams
impl UnwindSafe for GuardParams
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