INNER CODE UNIT · Rust
system_name
pbeets/rithmic-rs · src/config.rs:603
pub fn system_name(mut self, system_name: impl Into<String>) -> Self {
self.system_name = Some(system_name.into());
self
}
/// Set the application name registered with Rithmic. Required.
pub fn app_name(mut self, app_name: impl Into<String>) -> Self {
self.app_name = Some(app_name.into());
self
}
/// Deprecated and has no effect: the library does not time out requests.
/// Wrap the call in [`tokio::time::timeout`] to set a deadline of your
/// own. The value is still recorded on the config and still ignored. Kept
/// so existing code keeps compiling.
#[deprecated(
since = "3.1.0",
note = "the library no longer times out requests; wrap the call in tokio::time::timeout"