pub struct LogOnDetails {Show 13 fields
pub anonymous: bool,
pub refresh_token: Option<String>,
pub account_name: Option<String>,
pub password: Option<String>,
pub auth_code: Option<String>,
pub two_factor_code: Option<String>,
pub machine_auth_token: Option<String>,
pub logon_id: Option<u32>,
pub machine_name: Option<String>,
pub machine_id: Option<Vec<u8>>,
pub web_logon_token: Option<String>,
pub steam_id: Option<SteamID>,
pub client_os_type: Option<u32>,
}Expand description
Details for logging on to Steam.
Fields§
§anonymous: boolAnonymous login (no credentials required).
refresh_token: Option<String>Refresh token for authentication.
account_name: Option<String>Account name (for password auth).
password: Option<String>Password (for password auth).
auth_code: Option<String>Steam Guard email code.
two_factor_code: Option<String>Two-factor authentication code.
machine_auth_token: Option<String>Machine auth token for Steam Guard.
logon_id: Option<u32>Logon ID (for avoiding “logged in elsewhere” errors).
machine_name: Option<String>Machine name to report to Steam.
machine_id: Option<Vec<u8>>Machine ID (binary blob) for Steam Guard.
web_logon_token: Option<String>Web logon token from /chat/clientjstoken endpoint. Used with steam_id for cookie-based authentication.
steam_id: Option<SteamID>SteamID for web logon token authentication. Required when using web_logon_token.
client_os_type: Option<u32>Client OS type.
Trait Implementations§
Source§impl Clone for LogOnDetails
impl Clone for LogOnDetails
Source§fn clone(&self) -> LogOnDetails
fn clone(&self) -> LogOnDetails
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 LogOnDetails
impl Debug for LogOnDetails
Source§impl Default for LogOnDetails
impl Default for LogOnDetails
Source§fn default() -> LogOnDetails
fn default() -> LogOnDetails
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogOnDetails
impl RefUnwindSafe for LogOnDetails
impl Send for LogOnDetails
impl Sync for LogOnDetails
impl Unpin for LogOnDetails
impl UnsafeUnpin for LogOnDetails
impl UnwindSafe for LogOnDetails
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