quickfix_msg44

Struct QuoteRequest

source
pub struct QuoteRequest { /* private fields */ }

Implementations§

source§

impl QuoteRequest

source

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

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 QuoteRequest

source

pub fn try_new(quote_req_id: QuoteReqID) -> Result<Self, QuickFixError>

source§

impl QuoteRequest

source

pub fn get_quote_req_id(&self) -> QuoteReqID

source

pub fn get_rfq_req_id(&self) -> Option<RFQReqID>

source

pub fn get_cl_ord_id(&self) -> Option<ClOrdID>

source

pub fn get_order_capacity(&self) -> Option<OrderCapacity>

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_quote_req_id( &mut self, value: QuoteReqID, ) -> Result<&Self, QuickFixError>

source

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

source

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

source

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

source

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

source

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

source

pub fn remove_order_capacity(&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 QuoteRequest

source§

fn clone(&self) -> QuoteRequest

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 QuoteRequest

source§

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

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

impl From<Message> for QuoteRequest

source§

fn from(input: Message) -> Self

Converts to this type from the input type.
source§

impl From<QuoteRequest> for Message

source§

fn from(input: QuoteRequest) -> 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, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.