pub struct ModCategory {
pub id: Option<i64>,
pub name: String,
pub color: Option<String>,
pub sort_index: i64,
}Expand description
A mod category for organizing the mod list.
Fields§
§id: Option<i64>§name: String§color: Option<String>§sort_index: i64Trait Implementations§
Source§impl Clone for ModCategory
impl Clone for ModCategory
Source§fn clone(&self) -> ModCategory
fn clone(&self) -> ModCategory
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 moreAuto Trait Implementations§
impl Freeze for ModCategory
impl RefUnwindSafe for ModCategory
impl Send for ModCategory
impl Sync for ModCategory
impl Unpin for ModCategory
impl UnsafeUnpin for ModCategory
impl UnwindSafe for ModCategory
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