Struct scl_core::download::curseforge::ModFile
source · pub struct ModFile {
pub file_name: String,
pub download_url: String,
pub dependencies: Vec<Dependency>,
pub game_versions: Vec<String>,
}
Expand description
一个模组文件信息
Fields§
§file_name: String
模组文件的文件名
download_url: String
模组文件的下载链接
dependencies: Vec<Dependency>
模组的所需依赖
game_versions: Vec<String>
模组支持的游戏版本
Trait Implementations§
source§impl<'de> Deserialize<'de> for ModFile
impl<'de> Deserialize<'de> for ModFile
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 ModFile
impl Send for ModFile
impl Sync for ModFile
impl Unpin for ModFile
impl UnwindSafe for ModFile
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