pub struct Logon { /* private fields */ }
Implementations§
Source§impl Logon
impl Logon
pub const MSG_TYPE_BYTES: &'static str = "A"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
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
impl Logon
pub fn try_new( encrypt_method: EncryptMethod, heart_bt_int: HeartBtInt, ) -> Result<Self, QuickFixError>
Source§impl Logon
impl Logon
pub fn get_encrypt_method(&self) -> EncryptMethod
pub fn get_heart_bt_int(&self) -> HeartBtInt
pub fn get_raw_data_length(&self) -> Option<RawDataLength>
pub fn get_raw_data(&self) -> Option<RawData>
pub fn get_reset_seq_num_flag(&self) -> Option<ResetSeqNumFlag>
pub fn get_max_message_size(&self) -> Option<MaxMessageSize>
pub fn no_msg_types_len(&self) -> usize
pub fn clone_group_no_msg_types(&self, index: usize) -> Option<NoMsgTypes>
pub fn iter_no_msg_types(&self) -> GroupIterator<'_, Self, NoMsgTypes> ⓘ
pub fn get_test_message_indicator(&self) -> Option<TestMessageIndicator>
pub fn get_username(&self) -> Option<Username>
pub fn get_password(&self) -> Option<Password>
pub fn set_encrypt_method( &mut self, value: EncryptMethod, ) -> Result<&Self, QuickFixError>
pub fn set_heart_bt_int( &mut self, value: HeartBtInt, ) -> Result<&Self, QuickFixError>
pub fn set_raw_data_length( &mut self, value: RawDataLength, ) -> Result<&Self, QuickFixError>
pub fn remove_raw_data_length(&mut self) -> Result<&Self, QuickFixError>
pub fn set_raw_data(&mut self, value: RawData) -> Result<&Self, QuickFixError>
pub fn remove_raw_data(&mut self) -> Result<&Self, QuickFixError>
pub fn set_reset_seq_num_flag( &mut self, value: ResetSeqNumFlag, ) -> Result<&Self, QuickFixError>
pub fn remove_reset_seq_num_flag(&mut self) -> Result<&Self, QuickFixError>
pub fn set_max_message_size( &mut self, value: MaxMessageSize, ) -> Result<&Self, QuickFixError>
pub fn remove_max_message_size(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_msg_types( &mut self, value: NoMsgTypes, ) -> Result<&Self, QuickFixError>
pub fn set_test_message_indicator( &mut self, value: TestMessageIndicator, ) -> Result<&Self, QuickFixError>
pub fn remove_test_message_indicator(&mut self) -> Result<&Self, QuickFixError>
pub fn set_username(&mut self, value: Username) -> Result<&Self, QuickFixError>
pub fn remove_username(&mut self) -> Result<&Self, QuickFixError>
pub fn set_password(&mut self, value: Password) -> Result<&Self, QuickFixError>
pub fn remove_password(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Logon
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more