pub struct OrderCancelRequest {
pub message: Message,
}Expand description
OrderCancelRequest is the fix40 OrderCancelRequest type, MsgType = F.
Fields§
§message: MessageImplementations§
Source§impl OrderCancelRequest
impl OrderCancelRequest
Sourcepub fn new(
orig_cl_ord_id: OrigClOrdIDField,
cl_ord_id: ClOrdIDField,
cxl_type: CxlTypeField,
symbol: SymbolField,
side: SideField,
order_qty: OrderQtyField,
) -> Self
pub fn new( orig_cl_ord_id: OrigClOrdIDField, cl_ord_id: ClOrdIDField, cxl_type: CxlTypeField, symbol: SymbolField, side: SideField, order_qty: OrderQtyField, ) -> Self
Creates a new OrderCancelRequest with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a OrderCancelRequest from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_cl_ord_id(&mut self, v: String)
pub fn set_cl_ord_id(&mut self, v: String)
Sets ClOrdID, Tag 11.
Sourcepub fn get_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets ClOrdID, Tag 11.
Sourcepub fn has_cl_ord_id(&self) -> bool
pub fn has_cl_ord_id(&self) -> bool
Returns true if ClOrdID is present, Tag 11.
Sourcepub fn set_client_id(&mut self, v: String)
pub fn set_client_id(&mut self, v: String)
Sets ClientID, Tag 109.
Sourcepub fn get_client_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_client_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets ClientID, Tag 109.
Sourcepub fn has_client_id(&self) -> bool
pub fn has_client_id(&self) -> bool
Returns true if ClientID is present, Tag 109.
Sourcepub fn set_cxl_type(&mut self, v: String)
pub fn set_cxl_type(&mut self, v: String)
Sets CxlType, Tag 125.
Sourcepub fn get_cxl_type(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_cxl_type(&self) -> Result<String, MessageRejectErrorEnum>
Gets CxlType, Tag 125.
Sourcepub fn has_cxl_type(&self) -> bool
pub fn has_cxl_type(&self) -> bool
Returns true if CxlType is present, Tag 125.
Sourcepub fn set_exec_broker(&mut self, v: String)
pub fn set_exec_broker(&mut self, v: String)
Sets ExecBroker, Tag 76.
Sourcepub fn get_exec_broker(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_exec_broker(&self) -> Result<String, MessageRejectErrorEnum>
Gets ExecBroker, Tag 76.
Sourcepub fn has_exec_broker(&self) -> bool
pub fn has_exec_broker(&self) -> bool
Returns true if ExecBroker is present, Tag 76.
Sourcepub fn set_id_source(&mut self, v: String)
pub fn set_id_source(&mut self, v: String)
Sets IDSource, Tag 22.
Sourcepub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>
Gets IDSource, Tag 22.
Sourcepub fn has_id_source(&self) -> bool
pub fn has_id_source(&self) -> bool
Returns true if IDSource is present, Tag 22.
Sourcepub fn set_issuer(&mut self, v: String)
pub fn set_issuer(&mut self, v: String)
Sets Issuer, Tag 106.
Sourcepub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>
Gets Issuer, Tag 106.
Sourcepub fn has_issuer(&self) -> bool
pub fn has_issuer(&self) -> bool
Returns true if Issuer is present, Tag 106.
Sourcepub fn set_list_id(&mut self, v: String)
pub fn set_list_id(&mut self, v: String)
Sets ListID, Tag 66.
Sourcepub fn get_list_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_list_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets ListID, Tag 66.
Sourcepub fn has_list_id(&self) -> bool
pub fn has_list_id(&self) -> bool
Returns true if ListID is present, Tag 66.
Sourcepub fn set_order_id(&mut self, v: String)
pub fn set_order_id(&mut self, v: String)
Sets OrderID, Tag 37.
Sourcepub fn get_order_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_order_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets OrderID, Tag 37.
Sourcepub fn has_order_id(&self) -> bool
pub fn has_order_id(&self) -> bool
Returns true if OrderID is present, Tag 37.
Sourcepub fn set_order_qty(&mut self, val: Decimal, scale: i32)
pub fn set_order_qty(&mut self, val: Decimal, scale: i32)
Sets OrderQty, Tag 38.
Sourcepub fn get_order_qty(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_order_qty(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets OrderQty, Tag 38.
Sourcepub fn has_order_qty(&self) -> bool
pub fn has_order_qty(&self) -> bool
Returns true if OrderQty is present, Tag 38.
Sourcepub fn set_orig_cl_ord_id(&mut self, v: String)
pub fn set_orig_cl_ord_id(&mut self, v: String)
Sets OrigClOrdID, Tag 41.
Sourcepub fn get_orig_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_orig_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets OrigClOrdID, Tag 41.
Sourcepub fn has_orig_cl_ord_id(&self) -> bool
pub fn has_orig_cl_ord_id(&self) -> bool
Returns true if OrigClOrdID is present, Tag 41.
Sourcepub fn set_security_desc(&mut self, v: String)
pub fn set_security_desc(&mut self, v: String)
Sets SecurityDesc, Tag 107.
Sourcepub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityDesc, Tag 107.
Sourcepub fn has_security_desc(&self) -> bool
pub fn has_security_desc(&self) -> bool
Returns true if SecurityDesc is present, Tag 107.
Sourcepub fn set_security_id(&mut self, v: String)
pub fn set_security_id(&mut self, v: String)
Sets SecurityID, Tag 48.
Sourcepub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityID, Tag 48.
Sourcepub fn has_security_id(&self) -> bool
pub fn has_security_id(&self) -> bool
Returns true if SecurityID is present, Tag 48.
Sourcepub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>
Gets Side, Tag 54.
Sourcepub fn set_symbol(&mut self, v: String)
pub fn set_symbol(&mut self, v: String)
Sets Symbol, Tag 55.
Sourcepub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>
Gets Symbol, Tag 55.
Sourcepub fn has_symbol(&self) -> bool
pub fn has_symbol(&self) -> bool
Returns true if Symbol is present, Tag 55.
Sourcepub fn set_symbol_sfx(&mut self, v: String)
pub fn set_symbol_sfx(&mut self, v: String)
Sets SymbolSfx, Tag 65.
Sourcepub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>
Gets SymbolSfx, Tag 65.
Sourcepub fn has_symbol_sfx(&self) -> bool
pub fn has_symbol_sfx(&self) -> bool
Returns true if SymbolSfx is present, Tag 65.
Sourcepub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets Text, Tag 58.