pub struct CoverOrderParams {
pub order_params: OrderParams,
pub trigger_price: f64,
}
Expand description
Cover order parameters
Fields§
§order_params: OrderParams
Base order parameters
trigger_price: f64
Trigger price (mandatory for cover orders)
Trait Implementations§
Source§impl Clone for CoverOrderParams
impl Clone for CoverOrderParams
Source§fn clone(&self) -> CoverOrderParams
fn clone(&self) -> CoverOrderParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CoverOrderParams
impl Debug for CoverOrderParams
Source§impl<'de> Deserialize<'de> for CoverOrderParams
impl<'de> Deserialize<'de> for CoverOrderParams
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 CoverOrderParams
impl RefUnwindSafe for CoverOrderParams
impl Send for CoverOrderParams
impl Sync for CoverOrderParams
impl Unpin for CoverOrderParams
impl UnwindSafe for CoverOrderParams
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