pub struct FixConfig {
pub version: FixVersion,
pub sender_comp_id: String,
pub target_comp_id: String,
pub host: String,
pub port: u16,
pub heartbeat_interval_secs: u32,
pub reconnect_enabled: bool,
pub reconnect_max_attempts: u32,
pub reconnect_delay_ms: u64,
pub message_logging: bool,
pub reset_on_logon: bool,
}Expand description
FIX session configuration.
Fields§
§version: FixVersionFIX protocol version.
sender_comp_id: StringSender CompID.
target_comp_id: StringTarget CompID.
host: StringFIX server host.
port: u16FIX server port.
heartbeat_interval_secs: u32Heartbeat interval in seconds.
reconnect_enabled: boolEnable automatic reconnection.
reconnect_max_attempts: u32Maximum reconnection attempts.
reconnect_delay_ms: u64Reconnection delay in milliseconds.
message_logging: boolEnable message logging.
reset_on_logon: boolReset sequence numbers on logon.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FixConfig
impl<'de> Deserialize<'de> for FixConfig
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 FixConfig
impl RefUnwindSafe for FixConfig
impl Send for FixConfig
impl Sync for FixConfig
impl Unpin for FixConfig
impl UnwindSafe for FixConfig
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