pub struct ExecutionPlan {
pub instrument: Instrument,
pub side: Side,
pub qty: f64,
pub reduce_only: bool,
}Fields§
§instrument: Instrument§side: Side§qty: f64§reduce_only: boolTrait Implementations§
Source§impl Clone for ExecutionPlan
impl Clone for ExecutionPlan
Source§fn clone(&self) -> ExecutionPlan
fn clone(&self) -> ExecutionPlan
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 ExecutionPlan
impl Debug for ExecutionPlan
Source§impl From<ExecutionPlan> for CloseOrderRequest
impl From<ExecutionPlan> for CloseOrderRequest
Source§fn from(plan: ExecutionPlan) -> Self
fn from(plan: ExecutionPlan) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExecutionPlan
impl PartialEq for ExecutionPlan
impl StructuralPartialEq for ExecutionPlan
Auto Trait Implementations§
impl Freeze for ExecutionPlan
impl RefUnwindSafe for ExecutionPlan
impl Send for ExecutionPlan
impl Sync for ExecutionPlan
impl Unpin for ExecutionPlan
impl UnsafeUnpin for ExecutionPlan
impl UnwindSafe for ExecutionPlan
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