Struct scl_core::download::curseforge::ModAsset
source · pub struct ModAsset {
pub id: i32,
pub mod_id: i32,
pub title: String,
pub description: String,
pub thumbnail_url: String,
pub url: String,
}
Expand description
一个模组资源信息
Fields§
§id: i32
此模组文件的文件 ID 编号
mod_id: i32
此模组文件对应的模组 ID
title: String
模组文件的标题(不一定是文件名)
description: String
模组文件的介绍(一般是作者的更新记录什么的)
thumbnail_url: String
模组文件的缩略图
url: String
模组文件的下载链接
Trait Implementations§
source§impl<'de> Deserialize<'de> for ModAsset
impl<'de> Deserialize<'de> for ModAsset
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 ModAsset
impl Send for ModAsset
impl Sync for ModAsset
impl Unpin for ModAsset
impl UnwindSafe for ModAsset
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