pub enum ItemCategory {
Shop,
Bait,
Rod,
}Variants§
Trait Implementations§
Source§impl Clone for ItemCategory
impl Clone for ItemCategory
Source§fn clone(&self) -> ItemCategory
fn clone(&self) -> ItemCategory
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 ItemCategory
impl Debug for ItemCategory
Source§impl<'de> Deserialize<'de> for ItemCategory
impl<'de> Deserialize<'de> for ItemCategory
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 ItemCategory
impl Hash for ItemCategory
Source§impl PartialEq for ItemCategory
impl PartialEq for ItemCategory
Source§impl Serialize for ItemCategory
impl Serialize for ItemCategory
impl Copy for ItemCategory
impl Eq for ItemCategory
impl StructuralPartialEq for ItemCategory
Auto Trait Implementations§
impl Freeze for ItemCategory
impl RefUnwindSafe for ItemCategory
impl Send for ItemCategory
impl Sync for ItemCategory
impl Unpin for ItemCategory
impl UnwindSafe for ItemCategory
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> 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