pub struct ModTag {
pub name: String,
}
Expand description
A tag object that categorizes a mod.
Fields§
§name: String
An all lower-case string used to identify this tag internally.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModTag
impl<'de> Deserialize<'de> for ModTag
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
Auto Trait Implementations§
impl Freeze for ModTag
impl RefUnwindSafe for ModTag
impl Send for ModTag
impl Sync for ModTag
impl Unpin for ModTag
impl UnwindSafe for ModTag
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