pub struct Project {Show 35 fields
pub slug: String,
pub title: String,
pub description: String,
pub categories: Vec<String>,
pub client_side: ClientSide,
pub server_side: ServerSide,
pub body: String,
pub status: Status,
pub requested_status: Option<Option<RequestedStatus>>,
pub additional_categories: Option<Vec<String>>,
pub issues_url: Option<Option<String>>,
pub source_url: Option<Option<String>>,
pub wiki_url: Option<Option<String>>,
pub discord_url: Option<Option<String>>,
pub donation_urls: Option<Vec<ProjectDonationUrl>>,
pub project_type: ProjectType,
pub downloads: i32,
pub icon_url: Option<Option<String>>,
pub color: Option<Option<i32>>,
pub thread_id: Option<String>,
pub monetization_status: Option<MonetizationStatus>,
pub id: String,
pub team: String,
pub body_url: Option<Option<String>>,
pub moderator_message: Option<Option<ModeratorMessage>>,
pub published: String,
pub updated: String,
pub approved: Option<Option<String>>,
pub queued: Option<Option<String>>,
pub followers: i32,
pub license: Option<ProjectLicense>,
pub versions: Option<Vec<String>>,
pub game_versions: Option<Vec<String>>,
pub loaders: Option<Vec<String>>,
pub gallery: Option<Vec<GalleryImage>>,
}Fields§
§slug: StringThe slug of a project, used for vanity URLs. Regex: ^[\\w!@$()`.+,\"\\-']{3,64}$
title: StringThe title or name of the project
description: StringA short description of the project
categories: Vec<String>A list of the categories that the project has
client_side: ClientSideThe client side support of the project
server_side: ServerSideThe server side support of the project
body: StringA long form description of the project
status: StatusThe status of the project
requested_status: Option<Option<RequestedStatus>>The requested status when submitting for review or scheduling the project for release
additional_categories: Option<Vec<String>>A list of categories which are searchable but non-primary
issues_url: Option<Option<String>>An optional link to where to submit bugs or issues with the project
source_url: Option<Option<String>>An optional link to the source code of the project
wiki_url: Option<Option<String>>An optional link to the project’s wiki page or other relevant information
discord_url: Option<Option<String>>An optional invite link to the project’s discord
donation_urls: Option<Vec<ProjectDonationUrl>>A list of donation links for the project
project_type: ProjectTypeThe project type of the project
downloads: i32The total number of downloads of the project
icon_url: Option<Option<String>>The URL of the project’s icon
color: Option<Option<i32>>The RGB color of the project, automatically generated from the project icon
thread_id: Option<String>The ID of the moderation thread associated with this project
monetization_status: Option<MonetizationStatus>§id: StringThe ID of the project, encoded as a base62 string
team: StringThe ID of the team that has ownership of this project
body_url: Option<Option<String>>The link to the long description of the project. Always null, only kept for legacy compatibility.
moderator_message: Option<Option<ModeratorMessage>>§published: StringThe date the project was published
updated: StringThe date the project was last updated
approved: Option<Option<String>>The date the project’s status was set to an approved status
queued: Option<Option<String>>The date the project’s status was submitted to moderators for review
followers: i32The total number of users following the project
license: Option<ProjectLicense>§versions: Option<Vec<String>>A list of the version IDs of the project (will never be empty unless draft status)
game_versions: Option<Vec<String>>A list of all of the game versions supported by the project
loaders: Option<Vec<String>>A list of all of the loaders supported by the project
gallery: Option<Vec<GalleryImage>>A list of images that have been uploaded to the project’s gallery