pub struct SecurityTypes { /* private fields */ }

Implementations§

source§

impl SecurityTypes

source

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

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 SecurityTypes

source

pub fn try_new( security_req_id: SecurityReqID, security_response_id: SecurityResponseID, security_response_type: SecurityResponseType ) -> Result<Self, QuickFixError>

source§

impl SecurityTypes

source

pub fn get_security_req_id(&self) -> SecurityReqID

source

pub fn get_security_response_id(&self) -> SecurityResponseID

source

pub fn get_security_response_type(&self) -> SecurityResponseType

source

pub fn get_total_num_security_types(&self) -> Option<TotalNumSecurityTypes>

source

pub fn clone_group_no_security_types( &self, index: usize ) -> Option<NoSecurityTypes>

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 get_trading_session_id(&self) -> Option<TradingSessionID>

source

pub fn get_trading_session_sub_id(&self) -> Option<TradingSessionSubID>

source

pub fn get_subscription_request_type(&self) -> Option<SubscriptionRequestType>

source

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

source

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

source

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

source

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

source

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

source

pub fn add_no_security_types( &mut self, value: NoSecurityTypes ) -> 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>

source

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

source

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

source

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

source

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

source

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

source

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

Trait Implementations§

source§

impl Clone for SecurityTypes

source§

fn clone(&self) -> SecurityTypes

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 SecurityTypes

source§

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

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

impl From<Message> for SecurityTypes

source§

fn from(input: Message) -> Self

Converts to this type from the input type.
source§

impl From<SecurityTypes> for Message

source§

fn from(input: SecurityTypes) -> 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> 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,

§

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>,

§

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>,

§

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.