Enum torn_api::key::UserSelection
source · #[non_exhaustive]pub enum UserSelection {
Show 47 variants
Ammo,
Attacks,
AttacksFull,
Bars,
Basic,
BattleStats,
Bazaar,
Cooldowns,
Crimes,
Discord,
Display,
Education,
Events,
Gym,
Hof,
Honors,
Icons,
Inventory,
JobPoints,
Log,
Medals,
Merits,
Messages,
Missions,
Money,
Networth,
NewEvents,
NewMessages,
Notifications,
Perks,
PersonalStats,
Profile,
Properties,
ReceivedEvents,
Refills,
Reports,
Revives,
RevivesFull,
Skills,
Stocks,
Timestamp,
Travel,
WeaponExp,
WorkStats,
Lookup,
PublicStatus,
Unknown,
}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.
Ammo
Attacks
AttacksFull
Bars
Basic
BattleStats
Bazaar
Cooldowns
Crimes
Discord
Display
Education
Events
Gym
Hof
Honors
Icons
Inventory
JobPoints
Log
Medals
Merits
Messages
Missions
Money
Networth
NewEvents
NewMessages
Notifications
Perks
PersonalStats
Profile
Properties
ReceivedEvents
Refills
Reports
Revives
RevivesFull
Skills
Stocks
Timestamp
Travel
WeaponExp
WorkStats
Lookup
PublicStatus
Unknown
Trait Implementations§
source§impl Clone for UserSelection
impl Clone for UserSelection
source§fn clone(&self) -> UserSelection
fn clone(&self) -> UserSelection
Returns a copy 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 UserSelection
impl Debug for UserSelection
source§impl<'de> Deserialize<'de> for UserSelection
impl<'de> Deserialize<'de> for UserSelection
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for UserSelection
impl Hash for UserSelection
source§impl PartialEq for UserSelection
impl PartialEq for UserSelection
source§fn eq(&self, other: &UserSelection) -> bool
fn eq(&self, other: &UserSelection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UserSelection
impl Serialize for UserSelection
impl Copy for UserSelection
impl Eq for UserSelection
impl StructuralEq for UserSelection
impl StructuralPartialEq for UserSelection
Auto Trait Implementations§
impl RefUnwindSafe for UserSelection
impl Send for UserSelection
impl Sync for UserSelection
impl Unpin for UserSelection
impl UnwindSafe for UserSelection
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.