Struct scl_core::download::modrinth::ModVersion
source · pub struct ModVersion {
pub files: Vec<ModFile>,
pub game_versions: Vec<String>,
pub loaders: Vec<String>,
}
Expand description
一个模组文件的信息
Fields§
§files: Vec<ModFile>
文件列表
game_versions: Vec<String>
模组文件支持的游戏版本
loaders: Vec<String>
模组文件所需的模组加载器,通常是 Forge
或者 Fabric
Trait Implementations§
source§impl Debug for ModVersion
impl Debug for ModVersion
source§impl<'de> Deserialize<'de> for ModVersion
impl<'de> Deserialize<'de> for ModVersion
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 RefUnwindSafe for ModVersion
impl Send for ModVersion
impl Sync for ModVersion
impl Unpin for ModVersion
impl UnwindSafe for ModVersion
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