Struct steam_mobile::User [−][src]
pub struct User { /* fields omitted */ }Expand description
User that is needed for the authenticator to work. Ideally all fields should be populated before authenticator operations are made.
A simple implementation that has everything required to work properly:
use steam_mobile::User;
User::build()
.username("test_username")
.password("password")
.parental_code("1111") // Only needed if the is a parental code, otherwise skip
.ma_file_from_disk("assets/my.maFile");Implementations
Sets the parental code, if any.
Convenience function that imports the file from disk
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more