pub enum GameCondition {
Acceptable,
Good,
VeryGood,
LikeNew,
New,
}Expand description
The condition of a game for sale.
Variants§
Acceptable
Condition good enough to play, but no better.
Good
Game is in good condition.
VeryGood
Game is in very good condition.
LikeNew
Not a new, unused game, but the condition is as such.
New
A new game, unused.
Trait Implementations§
Source§impl Clone for GameCondition
impl Clone for GameCondition
Source§fn clone(&self) -> GameCondition
fn clone(&self) -> GameCondition
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 GameCondition
impl Debug for GameCondition
Source§impl<'de> Deserialize<'de> for GameCondition
impl<'de> Deserialize<'de> for GameCondition
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 Ord for GameCondition
impl Ord for GameCondition
Source§fn cmp(&self, other: &GameCondition) -> Ordering
fn cmp(&self, other: &GameCondition) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GameCondition
impl PartialEq for GameCondition
Source§impl PartialOrd for GameCondition
impl PartialOrd for GameCondition
impl Eq for GameCondition
impl StructuralPartialEq for GameCondition
Auto Trait Implementations§
impl Freeze for GameCondition
impl RefUnwindSafe for GameCondition
impl Send for GameCondition
impl Sync for GameCondition
impl Unpin for GameCondition
impl UnwindSafe for GameCondition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.