pub struct Project {Show 19 fields
pub id: String,
pub project_type: ProjectType,
pub versions: Vec<String>,
pub game_versions: Vec<String>,
pub loaders: Vec<Loader>,
pub client_side: SideSupport,
pub server_side: SideSupport,
pub team: String,
pub title: String,
pub description: String,
pub body: Option<String>,
pub icon_url: Option<String>,
pub issues_url: Option<String>,
pub source_url: Option<String>,
pub wiki_url: Option<String>,
pub discord_url: Option<String>,
pub donation_urls: Vec<DonationLink>,
pub license: License,
pub gallery: Option<Vec<GalleryEntry>>,
}
Expand description
A Modrinth project (mod, resource pack, etc.)
Fields§
§id: String
The ID of the project
project_type: ProjectType
The type of this project and its files
versions: Vec<String>
The ID’s of the available project versions
game_versions: Vec<String>
The Minecraft versions this project is available for
loaders: Vec<Loader>
The loaders this project is available for
client_side: SideSupport
The project’s support on the client side
server_side: SideSupport
The project’s support on the server side
team: String
The project’s team ID
title: String
The display name of the project
description: String
The short description of the project
body: Option<String>
The long description of the project
icon_url: Option<String>
URL to the icon
issues_url: Option<String>
URL to the issue tracker
source_url: Option<String>
URL to the source
wiki_url: Option<String>
URL to the wiki
discord_url: Option<String>
URL to the Discord
donation_urls: Vec<DonationLink>
Donation URLs
license: License
The license of the project
gallery: Option<Vec<GalleryEntry>>
The gallery items of the project
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnwindSafe for Project
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