pub struct RuleRequestBody {
pub conid: i32,
pub is_buy: Option<bool>,
pub modify_order: Option<bool>,
pub order_id: Option<i32>,
}Fields§
§conid: i32Contract identifier for the interested contract.
is_buy: Option<bool>Side of the market rules apply too. Set to true for Buy Orders, set to false for Sell orders.
modify_order: Option<bool>Used to find trading rules related to an existing order.
order_id: Option<i32>Specify the order identifier used for tracking a given order.
Trait Implementations§
Source§impl Clone for RuleRequestBody
impl Clone for RuleRequestBody
Source§fn clone(&self) -> RuleRequestBody
fn clone(&self) -> RuleRequestBody
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 RuleRequestBody
impl Debug for RuleRequestBody
Source§impl Default for RuleRequestBody
impl Default for RuleRequestBody
Source§impl PartialEq for RuleRequestBody
impl PartialEq for RuleRequestBody
Source§impl Serialize for RuleRequestBody
impl Serialize for RuleRequestBody
impl StructuralPartialEq for RuleRequestBody
Auto Trait Implementations§
impl Freeze for RuleRequestBody
impl RefUnwindSafe for RuleRequestBody
impl Send for RuleRequestBody
impl Sync for RuleRequestBody
impl Unpin for RuleRequestBody
impl UnsafeUnpin for RuleRequestBody
impl UnwindSafe for RuleRequestBody
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