pub struct Logon {
pub message: Message,
}Expand description
Logon is the fix41 Logon type, MsgType = A.
Fields§
§message: MessageImplementations§
Source§impl Logon
impl Logon
Sourcepub fn new(
encrypt_method: EncryptMethodField,
heart_bt_int: HeartBtIntField,
) -> Self
pub fn new( encrypt_method: EncryptMethodField, heart_bt_int: HeartBtIntField, ) -> Self
Creates a new Logon with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a Logon from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_encrypt_method(&mut self, v: isize)
pub fn set_encrypt_method(&mut self, v: isize)
Sets EncryptMethod, Tag 98.
Sourcepub fn get_encrypt_method(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encrypt_method(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EncryptMethod, Tag 98.
Sourcepub fn has_encrypt_method(&self) -> bool
pub fn has_encrypt_method(&self) -> bool
Returns true if EncryptMethod is present, Tag 98.
Sourcepub fn set_heart_bt_int(&mut self, v: isize)
pub fn set_heart_bt_int(&mut self, v: isize)
Sets HeartBtInt, Tag 108.
Sourcepub fn get_heart_bt_int(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_heart_bt_int(&self) -> Result<isize, MessageRejectErrorEnum>
Gets HeartBtInt, Tag 108.
Sourcepub fn has_heart_bt_int(&self) -> bool
pub fn has_heart_bt_int(&self) -> bool
Returns true if HeartBtInt is present, Tag 108.
Sourcepub fn set_raw_data(&mut self, v: String)
pub fn set_raw_data(&mut self, v: String)
Sets RawData, Tag 96.
Sourcepub fn get_raw_data(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_raw_data(&self) -> Result<String, MessageRejectErrorEnum>
Gets RawData, Tag 96.
Sourcepub fn has_raw_data(&self) -> bool
pub fn has_raw_data(&self) -> bool
Returns true if RawData is present, Tag 96.
Sourcepub fn set_raw_data_length(&mut self, v: isize)
pub fn set_raw_data_length(&mut self, v: isize)
Sets RawDataLength, Tag 95.
Sourcepub fn get_raw_data_length(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_raw_data_length(&self) -> Result<isize, MessageRejectErrorEnum>
Gets RawDataLength, Tag 95.
Sourcepub fn has_raw_data_length(&self) -> bool
pub fn has_raw_data_length(&self) -> bool
Returns true if RawDataLength is present, Tag 95.
Sourcepub fn set_reset_seq_num_flag(&mut self, v: bool)
pub fn set_reset_seq_num_flag(&mut self, v: bool)
Sets ResetSeqNumFlag, Tag 141.
Sourcepub fn get_reset_seq_num_flag(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_reset_seq_num_flag(&self) -> Result<bool, MessageRejectErrorEnum>
Gets ResetSeqNumFlag, Tag 141.
Sourcepub fn has_reset_seq_num_flag(&self) -> bool
pub fn has_reset_seq_num_flag(&self) -> bool
Returns true if ResetSeqNumFlag is present, Tag 141.
Auto Trait Implementations§
impl !Freeze for Logon
impl RefUnwindSafe for Logon
impl Send for Logon
impl Sync for Logon
impl Unpin for Logon
impl UnsafeUnpin 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