Enum torn_api::torn::TornSelection
source · #[non_exhaustive]pub enum TornSelection {
Competition,
TerritoryWars,
Rackets,
Territory,
TerritoryWarReport,
}
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.
Trait Implementations§
source§impl ApiSelection for TornSelection
impl ApiSelection for TornSelection
source§impl Clone for TornSelection
impl Clone for TornSelection
source§fn clone(&self) -> TornSelection
fn clone(&self) -> TornSelection
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 TornSelection
impl Debug for TornSelection
impl Copy for TornSelection
Auto Trait Implementations§
impl RefUnwindSafe for TornSelection
impl Send for TornSelection
impl Sync for TornSelection
impl Unpin for TornSelection
impl UnwindSafe for TornSelection
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