#[repr(u8)]pub enum EventQuality {
Unknown = 0,
Silver = 10,
Gold = 20,
Diamond = 30,
FourLeafClover = 40,
}
Variants§
Trait Implementations§
Source§impl Clone for EventQuality
impl Clone for EventQuality
Source§fn clone(&self) -> EventQuality
fn clone(&self) -> EventQuality
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 EventQuality
impl Debug for EventQuality
Source§impl<'de> Deserialize<'de> for EventQuality
impl<'de> Deserialize<'de> for EventQuality
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 Display for EventQuality
impl Display for EventQuality
Source§impl From<u8> for EventQuality
impl From<u8> for EventQuality
Source§impl PartialEq for EventQuality
impl PartialEq for EventQuality
Source§impl Serialize for EventQuality
impl Serialize for EventQuality
impl Copy for EventQuality
impl StructuralPartialEq for EventQuality
Auto Trait Implementations§
impl Freeze for EventQuality
impl RefUnwindSafe for EventQuality
impl Send for EventQuality
impl Sync for EventQuality
impl Unpin for EventQuality
impl UnwindSafe for EventQuality
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more