#[non_exhaustive]pub enum AccountKind {
Steam(u64),
Gog,
Unknown(String),
}Expand description
The kind of NMS account directory.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Steam(u64)
Steam account with numeric Steam ID.
Gog
GOG “DefaultUser” account.
Unknown(String)
Unrecognized directory name.
Trait Implementations§
Source§impl Clone for AccountKind
impl Clone for AccountKind
Source§fn clone(&self) -> AccountKind
fn clone(&self) -> AccountKind
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 moreSource§impl Debug for AccountKind
impl Debug for AccountKind
Source§impl Display for AccountKind
impl Display for AccountKind
Source§impl PartialEq for AccountKind
impl PartialEq for AccountKind
impl Eq for AccountKind
impl StructuralPartialEq for AccountKind
Auto Trait Implementations§
impl Freeze for AccountKind
impl RefUnwindSafe for AccountKind
impl Send for AccountKind
impl Sync for AccountKind
impl Unpin for AccountKind
impl UnsafeUnpin for AccountKind
impl UnwindSafe for AccountKind
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