pub struct SteamOptions {Show 17 fields
pub protocol: EConnectionProtocol,
pub auto_relogin: bool,
pub web_compatibility_mode: bool,
pub http_proxy: Option<String>,
pub socks_proxy: Option<String>,
pub renew_refresh_tokens: bool,
pub machine_name: Option<String>,
pub language: String,
pub local_address: Option<String>,
pub local_port: Option<u16>,
pub additional_headers: HashMap<String, String>,
pub enable_pics_cache: bool,
pub pics_cache_all: bool,
pub changelist_update_interval: u64,
pub save_app_tickets: bool,
pub reconnect: ReconnectConfig,
pub heartbeat: HeartbeatOptions,
}Expand description
Options for the Steam client.
Fields§
§protocol: EConnectionProtocolConnection protocol to use.
auto_relogin: boolWhether to automatically reconnect on disconnect.
web_compatibility_mode: boolWhether to enable web compatibility mode (WebSocket only, port 443).
http_proxy: Option<String>HTTP proxy URL.
socks_proxy: Option<String>SOCKS proxy URL.
renew_refresh_tokens: boolWhether to renew refresh tokens automatically.
machine_name: Option<String>Machine name to report to Steam.
language: StringLanguage to use for Steam messages.
local_address: Option<String>Local address to bind to.
local_port: Option<u16>Local port to bind to.
additional_headers: HashMap<String, String>Additional headers to send with WebSocket handshake.
enable_pics_cache: boolWhether to enable PICS cache.
pics_cache_all: boolWhether to cache all PICS data.
changelist_update_interval: u64Interval between changelist updates (in milliseconds).
save_app_tickets: boolWhether to save app tickets.
reconnect: ReconnectConfigReconnection configuration.
heartbeat: HeartbeatOptionsHeartbeat configuration.
Trait Implementations§
Source§impl Clone for SteamOptions
impl Clone for SteamOptions
Source§fn clone(&self) -> SteamOptions
fn clone(&self) -> SteamOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SteamOptions
impl Debug for SteamOptions
Auto Trait Implementations§
impl Freeze for SteamOptions
impl RefUnwindSafe for SteamOptions
impl Send for SteamOptions
impl Sync for SteamOptions
impl Unpin for SteamOptions
impl UnsafeUnpin for SteamOptions
impl UnwindSafe for SteamOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more