Skip to main content

BidRequest

Struct BidRequest 

Source
pub struct BidRequest(/* private fields */);

Implementations§

Source§

impl BidRequest

Source

pub const MSG_TYPE: &[u8] = b"k"

Source

pub const KNOWN_TAGS: KnownTags<'static>

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

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

Source

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

Source

pub fn bid_id(&self) -> Result<Option<&str>, InvalidValue>

Source

pub fn client_bid_id(&self) -> Result<Option<&str>, InvalidValue>

Source

pub fn bid_request_trans_type( &self, ) -> Result<Option<BidRequestTransType<'_>>, InvalidValue>

Source

pub fn list_name(&self) -> Result<Option<&str>, InvalidValue>

Source

pub fn bid_type(&self) -> Result<Option<BidType>, InvalidValue>

Source

pub fn num_tickets(&self) -> Result<Option<i64>, InvalidValue>

Source

pub fn currency_raw(&self) -> Option<&[u8]>

Source

pub fn side_value1_raw(&self) -> Option<&[u8]>

Source

pub fn side_value2_raw(&self) -> Option<&[u8]>

Source

pub fn bid_desc_req_grp( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

Source

pub fn bid_comp_req_grp( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

Source

pub fn liquidity_ind_type( &self, ) -> Result<Option<LiquidityIndType>, InvalidValue>

Source

pub fn wt_average_liquidity_raw(&self) -> Option<&[u8]>

Source

pub fn exchange_for_physical( &self, ) -> Result<Option<ExchangeForPhysical<'_>>, InvalidValue>

Source

pub fn out_main_cntry_u_index_raw(&self) -> Option<&[u8]>

Source

pub fn cross_percent_raw(&self) -> Option<&[u8]>

Source

pub fn prog_rpt_reqs(&self) -> Result<Option<ProgRptReqs>, InvalidValue>

Source

pub fn prog_period_interval(&self) -> Result<Option<i64>, InvalidValue>

Source

pub fn inc_tax_ind(&self) -> Result<Option<IncTaxInd>, InvalidValue>

Source

pub fn forex_req(&self) -> Result<Option<ForexReq<'_>>, InvalidValue>

Source

pub fn num_bidders(&self) -> Result<Option<i64>, InvalidValue>

Source

pub fn trade_date_raw(&self) -> Option<&[u8]>

Source

pub fn bid_trade_type(&self) -> Result<Option<BidTradeType<'_>>, InvalidValue>

Source

pub fn basis_px_type(&self) -> Result<Option<BasisPxType<'_>>, InvalidValue>

Source

pub fn strike_time_raw(&self) -> Option<&[u8]>

Source

pub fn text(&self) -> Result<Option<&str>, InvalidValue>

Source

pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>

Source

pub fn encoded_text_raw(&self) -> Option<&[u8]>

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> 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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.