pub struct QuoteRequest {
pub message: Message,
}Expand description
QuoteRequest is the fix41 QuoteRequest type, MsgType = R.
Fields§
§message: MessageImplementations§
Source§impl QuoteRequest
impl QuoteRequest
Sourcepub fn new(quote_req_id: QuoteReqIDField, symbol: SymbolField) -> Self
pub fn new(quote_req_id: QuoteReqIDField, symbol: SymbolField) -> Self
Creates a new QuoteRequest with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a QuoteRequest from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_fut_sett_date(&mut self, v: String)
pub fn set_fut_sett_date(&mut self, v: String)
Sets FutSettDate, Tag 64.
Sourcepub fn get_fut_sett_date(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_fut_sett_date(&self) -> Result<String, MessageRejectErrorEnum>
Gets FutSettDate, Tag 64.
Sourcepub fn has_fut_sett_date(&self) -> bool
pub fn has_fut_sett_date(&self) -> bool
Returns true if FutSettDate is present, Tag 64.
Sourcepub fn set_fut_sett_date2(&mut self, v: String)
pub fn set_fut_sett_date2(&mut self, v: String)
Sets FutSettDate2, Tag 193.
Sourcepub fn get_fut_sett_date2(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_fut_sett_date2(&self) -> Result<String, MessageRejectErrorEnum>
Gets FutSettDate2, Tag 193.
Sourcepub fn has_fut_sett_date2(&self) -> bool
pub fn has_fut_sett_date2(&self) -> bool
Returns true if FutSettDate2 is present, Tag 193.
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_maturity_day(&mut self, v: isize)
pub fn set_maturity_day(&mut self, v: isize)
Sets MaturityDay, Tag 205.
Sourcepub fn get_maturity_day(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_maturity_day(&self) -> Result<isize, MessageRejectErrorEnum>
Gets MaturityDay, Tag 205.
Sourcepub fn has_maturity_day(&self) -> bool
pub fn has_maturity_day(&self) -> bool
Returns true if MaturityDay is present, Tag 205.
Sourcepub fn set_maturity_month_year(&mut self, v: String)
pub fn set_maturity_month_year(&mut self, v: String)
Sets MaturityMonthYear, Tag 200.
Sourcepub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>
Gets MaturityMonthYear, Tag 200.
Sourcepub fn has_maturity_month_year(&self) -> bool
pub fn has_maturity_month_year(&self) -> bool
Returns true if MaturityMonthYear is present, Tag 200.
Sourcepub fn set_opt_attribute(&mut self, v: String)
pub fn set_opt_attribute(&mut self, v: String)
Sets OptAttribute, Tag 206.
Sourcepub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>
Gets OptAttribute, Tag 206.
Sourcepub fn has_opt_attribute(&self) -> bool
pub fn has_opt_attribute(&self) -> bool
Returns true if OptAttribute is present, Tag 206.
Sourcepub fn set_ord_type(&mut self, v: String)
pub fn set_ord_type(&mut self, v: String)
Sets OrdType, Tag 40.
Sourcepub fn get_ord_type(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_ord_type(&self) -> Result<String, MessageRejectErrorEnum>
Gets OrdType, Tag 40.
Sourcepub fn has_ord_type(&self) -> bool
pub fn has_ord_type(&self) -> bool
Returns true if OrdType is present, Tag 40.
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_order_qty2(&mut self, val: Decimal, scale: i32)
pub fn set_order_qty2(&mut self, val: Decimal, scale: i32)
Sets OrderQty2, Tag 192.
Sourcepub fn get_order_qty2(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_order_qty2(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets OrderQty2, Tag 192.
Sourcepub fn has_order_qty2(&self) -> bool
pub fn has_order_qty2(&self) -> bool
Returns true if OrderQty2 is present, Tag 192.
Sourcepub fn set_prev_close_px(&mut self, val: Decimal, scale: i32)
pub fn set_prev_close_px(&mut self, val: Decimal, scale: i32)
Sets PrevClosePx, Tag 140.
Sourcepub fn get_prev_close_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_prev_close_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets PrevClosePx, Tag 140.
Sourcepub fn has_prev_close_px(&self) -> bool
pub fn has_prev_close_px(&self) -> bool
Returns true if PrevClosePx is present, Tag 140.
Sourcepub fn set_put_or_call(&mut self, v: isize)
pub fn set_put_or_call(&mut self, v: isize)
Sets PutOrCall, Tag 201.
Sourcepub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>
Gets PutOrCall, Tag 201.
Sourcepub fn has_put_or_call(&self) -> bool
pub fn has_put_or_call(&self) -> bool
Returns true if PutOrCall is present, Tag 201.
Sourcepub fn set_quote_req_id(&mut self, v: String)
pub fn set_quote_req_id(&mut self, v: String)
Sets QuoteReqID, Tag 131.
Sourcepub fn get_quote_req_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_quote_req_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets QuoteReqID, Tag 131.
Sourcepub fn has_quote_req_id(&self) -> bool
pub fn has_quote_req_id(&self) -> bool
Returns true if QuoteReqID is present, Tag 131.
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_exchange(&mut self, v: String)
pub fn set_security_exchange(&mut self, v: String)
Sets SecurityExchange, Tag 207.
Sourcepub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityExchange, Tag 207.
Sourcepub fn has_security_exchange(&self) -> bool
pub fn has_security_exchange(&self) -> bool
Returns true if SecurityExchange is present, Tag 207.
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 set_security_type(&mut self, v: String)
pub fn set_security_type(&mut self, v: String)
Sets SecurityType, Tag 167.
Sourcepub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityType, Tag 167.
Sourcepub fn has_security_type(&self) -> bool
pub fn has_security_type(&self) -> bool
Returns true if SecurityType is present, Tag 167.
Sourcepub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>
Gets Side, Tag 54.
Sourcepub fn set_strike_price(&mut self, val: Decimal, scale: i32)
pub fn set_strike_price(&mut self, val: Decimal, scale: i32)
Sets StrikePrice, Tag 202.
Sourcepub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets StrikePrice, Tag 202.
Sourcepub fn has_strike_price(&self) -> bool
pub fn has_strike_price(&self) -> bool
Returns true if StrikePrice is present, Tag 202.
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.