Struct BidRequest

Source
pub struct BidRequest { /* private fields */ }

Implementations§

Source§

impl BidRequest

Source

pub const MSG_TYPE_BYTES: &'static str = "k"

Source

pub const MSG_TYPE: MsgType

Source

pub fn header(&mut self) -> Header<'_>

Source

pub fn header_mut(&mut self) -> HeaderMut<'_>

Source

pub fn trailer(&mut self) -> Trailer<'_>

Source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

Source

pub fn to_fix_string(&self) -> String

Convert inner message as FIX text.

This method is only here for debug / tests purposes. Do not use this in real production code.

Source§

impl BidRequest

Source

pub fn try_new( client_bid_id: ClientBidID, bid_request_trans_type: BidRequestTransType, total_num_securities: TotalNumSecurities, bid_type: BidType, trade_type: TradeType, basis_px_type: BasisPxType, ) -> Result<Self, QuickFixError>

Source§

impl BidRequest

Source

pub fn get_bid_id(&self) -> Option<BidID>

Source

pub fn get_client_bid_id(&self) -> ClientBidID

Source

pub fn get_bid_request_trans_type(&self) -> BidRequestTransType

Source

pub fn get_list_name(&self) -> Option<ListName>

Source

pub fn get_total_num_securities(&self) -> TotalNumSecurities

Source

pub fn get_bid_type(&self) -> BidType

Source

pub fn get_num_tickets(&self) -> Option<NumTickets>

Source

pub fn get_currency(&self) -> Option<Currency>

Source

pub fn get_side_value_1(&self) -> Option<SideValue1>

Source

pub fn get_side_value_2(&self) -> Option<SideValue2>

Source

pub fn no_bid_descriptors_len(&self) -> usize

Source

pub fn clone_group_no_bid_descriptors( &self, index: usize, ) -> Option<NoBidDescriptors>

Source

pub fn iter_no_bid_descriptors( &self, ) -> GroupIterator<'_, Self, NoBidDescriptors>

Source

pub fn no_bid_components_len(&self) -> usize

Source

pub fn clone_group_no_bid_components( &self, index: usize, ) -> Option<NoBidComponents>

Source

pub fn iter_no_bid_components(&self) -> GroupIterator<'_, Self, NoBidComponents>

Source

pub fn get_liquidity_ind_type(&self) -> Option<LiquidityIndType>

Source

pub fn get_wt_average_liquidity(&self) -> Option<WtAverageLiquidity>

Source

pub fn get_exchange_for_physical(&self) -> Option<ExchangeForPhysical>

Source

pub fn get_out_main_cntry_u_index(&self) -> Option<OutMainCntryUIndex>

Source

pub fn get_cross_percent(&self) -> Option<CrossPercent>

Source

pub fn get_prog_rpt_reqs(&self) -> Option<ProgRptReqs>

Source

pub fn get_prog_period_interval(&self) -> Option<ProgPeriodInterval>

Source

pub fn get_inc_tax_ind(&self) -> Option<IncTaxInd>

Source

pub fn get_forex_req(&self) -> Option<ForexReq>

Source

pub fn get_num_bidders(&self) -> Option<NumBidders>

Source

pub fn get_trade_date(&self) -> Option<TradeDate>

Source

pub fn get_trade_type(&self) -> TradeType

Source

pub fn get_basis_px_type(&self) -> BasisPxType

Source

pub fn get_strike_time(&self) -> Option<StrikeTime>

Source

pub fn get_text(&self) -> Option<Text>

Source

pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>

Source

pub fn get_encoded_text(&self) -> Option<EncodedText>

Source

pub fn set_bid_id(&mut self, value: BidID) -> Result<&Self, QuickFixError>

Source

pub fn remove_bid_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_client_bid_id( &mut self, value: ClientBidID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_bid_request_trans_type( &mut self, value: BidRequestTransType, ) -> Result<&Self, QuickFixError>

Source

pub fn set_list_name(&mut self, value: ListName) -> Result<&Self, QuickFixError>

Source

pub fn remove_list_name(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_total_num_securities( &mut self, value: TotalNumSecurities, ) -> Result<&Self, QuickFixError>

Source

pub fn set_bid_type(&mut self, value: BidType) -> Result<&Self, QuickFixError>

Source

pub fn set_num_tickets( &mut self, value: NumTickets, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_num_tickets(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_currency(&mut self, value: Currency) -> Result<&Self, QuickFixError>

Source

pub fn remove_currency(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_side_value_1( &mut self, value: SideValue1, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_side_value_1(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_side_value_2( &mut self, value: SideValue2, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_side_value_2(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_bid_descriptors( &mut self, value: NoBidDescriptors, ) -> Result<&Self, QuickFixError>

Source

pub fn add_no_bid_components( &mut self, value: NoBidComponents, ) -> Result<&Self, QuickFixError>

Source

pub fn set_liquidity_ind_type( &mut self, value: LiquidityIndType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_liquidity_ind_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_wt_average_liquidity( &mut self, value: WtAverageLiquidity, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_wt_average_liquidity(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_exchange_for_physical( &mut self, value: ExchangeForPhysical, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_exchange_for_physical(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_out_main_cntry_u_index( &mut self, value: OutMainCntryUIndex, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_out_main_cntry_u_index(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_cross_percent( &mut self, value: CrossPercent, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_cross_percent(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_prog_rpt_reqs( &mut self, value: ProgRptReqs, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_prog_rpt_reqs(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_prog_period_interval( &mut self, value: ProgPeriodInterval, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_prog_period_interval(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_inc_tax_ind( &mut self, value: IncTaxInd, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_inc_tax_ind(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_forex_req(&mut self, value: ForexReq) -> Result<&Self, QuickFixError>

Source

pub fn remove_forex_req(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_num_bidders( &mut self, value: NumBidders, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_num_bidders(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trade_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_type( &mut self, value: TradeType, ) -> Result<&Self, QuickFixError>

Source

pub fn set_basis_px_type( &mut self, value: BasisPxType, ) -> Result<&Self, QuickFixError>

Source

pub fn set_strike_time( &mut self, value: StrikeTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_strike_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>

Source

pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>

Trait Implementations§

Source§

impl Clone for BidRequest

Source§

fn clone(&self) -> BidRequest

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BidRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<BidRequest> for Message

Source§

fn from(input: BidRequest) -> Self

Converts to this type from the input type.
Source§

impl From<Message> for BidRequest

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.