Struct quickfix_msg43::Logon

source ·
pub struct Logon { /* private fields */ }

Implementations§

source§

impl Logon

source

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

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 Logon

source

pub fn try_new( encrypt_method: EncryptMethod, heart_bt_int: HeartBtInt ) -> Result<Self, QuickFixError>

source§

impl Logon

source

pub fn get_encrypt_method(&self) -> EncryptMethod

source

pub fn get_heart_bt_int(&self) -> HeartBtInt

source

pub fn get_raw_data_length(&self) -> Option<RawDataLength>

source

pub fn get_raw_data(&self) -> Option<RawData>

source

pub fn get_reset_seq_num_flag(&self) -> Option<ResetSeqNumFlag>

source

pub fn get_max_message_size(&self) -> Option<MaxMessageSize>

source

pub fn clone_group_no_msg_types(&self, index: usize) -> Option<NoMsgTypes>

source

pub fn get_test_message_indicator(&self) -> Option<TestMessageIndicator>

source

pub fn get_username(&self) -> Option<Username>

source

pub fn get_password(&self) -> Option<Password>

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Trait Implementations§

source§

impl Clone for Logon

source§

fn clone(&self) -> Logon

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 Logon

source§

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

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

impl From<Logon> for Message

source§

fn from(input: Logon) -> Self

Converts to this type from the input type.
source§

impl From<Message> for Logon

source§

fn from(input: Message) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for Logon

§

impl !Send for Logon

§

impl !Sync for Logon

§

impl Unpin for Logon

§

impl UnwindSafe for Logon

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.