Struct Quote

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

Implementations§

Source§

impl Quote

Source

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

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 Quote

Source

pub fn try_new(quote_id: QuoteID, symbol: Symbol) -> Result<Self, QuickFixError>

Source§

impl Quote

Source

pub fn get_quote_req_id(&self) -> Option<QuoteReqID>

Source

pub fn get_quote_id(&self) -> QuoteID

Source

pub fn get_symbol(&self) -> Symbol

Source

pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>

Source

pub fn get_security_id(&self) -> Option<SecurityID>

Source

pub fn get_id_source(&self) -> Option<IDSource>

Source

pub fn get_security_type(&self) -> Option<SecurityType>

Source

pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>

Source

pub fn get_maturity_day(&self) -> Option<MaturityDay>

Source

pub fn get_put_or_call(&self) -> Option<PutOrCall>

Source

pub fn get_strike_price(&self) -> Option<StrikePrice>

Source

pub fn get_opt_attribute(&self) -> Option<OptAttribute>

Source

pub fn get_security_exchange(&self) -> Option<SecurityExchange>

Source

pub fn get_issuer(&self) -> Option<Issuer>

Source

pub fn get_security_desc(&self) -> Option<SecurityDesc>

Source

pub fn get_bid_px(&self) -> Option<BidPx>

Source

pub fn get_offer_px(&self) -> Option<OfferPx>

Source

pub fn get_bid_size(&self) -> Option<BidSize>

Source

pub fn get_offer_size(&self) -> Option<OfferSize>

Source

pub fn get_valid_until_time(&self) -> Option<ValidUntilTime>

Source

pub fn get_bid_spot_rate(&self) -> Option<BidSpotRate>

Source

pub fn get_offer_spot_rate(&self) -> Option<OfferSpotRate>

Source

pub fn get_bid_forward_points(&self) -> Option<BidForwardPoints>

Source

pub fn get_offer_forward_points(&self) -> Option<OfferForwardPoints>

Source

pub fn get_transact_time(&self) -> Option<TransactTime>

Source

pub fn get_fut_sett_date(&self) -> Option<FutSettDate>

Source

pub fn get_ord_type(&self) -> Option<OrdType>

Source

pub fn get_fut_sett_date_2(&self) -> Option<FutSettDate2>

Source

pub fn get_order_qty_2(&self) -> Option<OrderQty2>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl Clone for Quote

Source§

fn clone(&self) -> Quote

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 Quote

Source§

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

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

impl From<Message> for Quote

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.
Source§

impl From<Quote> for Message

Source§

fn from(input: Quote) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Quote

§

impl RefUnwindSafe for Quote

§

impl !Send for Quote

§

impl !Sync for Quote

§

impl Unpin for Quote

§

impl UnwindSafe for Quote

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.