pub struct SessionSettings {Show 16 fields
pub session_id: SessionId,
pub session_time: RangeInclusive<NaiveTime>,
pub logon_time: RangeInclusive<NaiveTime>,
pub send_redundant_resend_requests: bool,
pub check_comp_id: bool,
pub max_latency: Option<Duration>,
pub reset_on_logon: bool,
pub reset_on_logout: bool,
pub reset_on_disconnect: bool,
pub refresh_on_logon: bool,
pub sender_default_appl_ver_id: FixString,
pub target_default_appl_ver_id: FixString,
pub enable_next_expected_msg_seq_num: bool,
pub persist: bool,
pub verify_logout: bool,
pub verify_test_request_id: bool,
}Fields§
§session_id: SessionId§session_time: RangeInclusive<NaiveTime>§logon_time: RangeInclusive<NaiveTime>§send_redundant_resend_requests: bool§check_comp_id: bool§max_latency: Option<Duration>Maximum allowed difference between message SendingTime(52) and current
time. If None, SendingTime is not validated. If Some, messages with
SendingTime differing by more than this duration are rejected.
reset_on_logon: bool§reset_on_logout: bool§reset_on_disconnect: bool§refresh_on_logon: bool§sender_default_appl_ver_id: FixString§target_default_appl_ver_id: FixString§enable_next_expected_msg_seq_num: boolEnable the next expected message sequence number (optional tag 789 on Logon) on sent Logon message and use value of tag 789 on received Logon message to synchronize session.
persist: boolEnable messages persistence.
verify_logout: boolEnable Logout<5> verification.
verify_test_request_id: boolWhen enabled, idle session auto-close grace period counter will only reset when incoming heartbeat’s TestReqID tag value matches value from one of outgoing grace period’s TestRequests.
Trait Implementations§
Source§impl Clone for SessionSettings
impl Clone for SessionSettings
Source§fn clone(&self) -> SessionSettings
fn clone(&self) -> SessionSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionSettings
impl Debug for SessionSettings
Source§impl<'de> Deserialize<'de> for SessionSettings
impl<'de> Deserialize<'de> for SessionSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionSettings
impl RefUnwindSafe for SessionSettings
impl Send for SessionSettings
impl Sync for SessionSettings
impl Unpin for SessionSettings
impl UnwindSafe for SessionSettings
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