pub struct CredentialsDetails {
pub account_name: String,
pub password: String,
pub persistence: Option<ESessionPersistence>,
pub steam_guard_machine_token: Option<String>,
pub steam_guard_code: Option<String>,
}Expand description
Details for starting a login with credentials.
Fields§
§account_name: StringSteam account name.
password: StringSteam account password.
persistence: Option<ESessionPersistence>Session persistence type.
steam_guard_machine_token: Option<String>Steam Guard machine token for bypassing email code.
steam_guard_code: Option<String>Pre-supplied Steam Guard code (email or TOTP).
Trait Implementations§
Source§impl Clone for CredentialsDetails
impl Clone for CredentialsDetails
Source§fn clone(&self) -> CredentialsDetails
fn clone(&self) -> CredentialsDetails
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 moreAuto Trait Implementations§
impl Freeze for CredentialsDetails
impl RefUnwindSafe for CredentialsDetails
impl Send for CredentialsDetails
impl Sync for CredentialsDetails
impl Unpin for CredentialsDetails
impl UnsafeUnpin for CredentialsDetails
impl UnwindSafe for CredentialsDetails
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