pub struct Mod {
pub name: String,
pub latest: String,
pub installed: bool,
pub upgradable: bool,
pub global: bool,
pub versions: BTreeMap<String, ModVersion>,
}Fields
name: Stringlatest: StringThe latest version of the mod
installed: boolupgradable: boolglobal: boolversions: BTreeMap<String, ModVersion>A map of each version of a mod
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Mod
impl<'de> Deserialize<'de> for Mod
sourcefn 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 RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnwindSafe for Mod
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more