#[non_exhaustive]pub struct Version {Show 13 fields
pub name: Option<String>,
pub full_name: Option<String>,
pub description: Option<String>,
pub icon: Option<String>,
pub version_number: Option<String>,
pub dependencies: Vec<String>,
pub download_url: Option<String>,
pub downloads: Option<u32>,
pub date_created: OffsetDateTime,
pub website_url: Option<String>,
pub is_active: Option<bool>,
pub uuid4: Option<String>,
pub file_size: Option<u64>,
}Expand description
Represents a specific version of a mod package.
This struct contains information about one version of a package, including its version number, dependencies, and download information.
#[non_exhaustive]: fields may be added as the Thunderstore API grows, so
downstream code cannot construct or exhaustively destructure this directly.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name of this version
full_name: Option<String>The full name of this version
description: Option<String>The description of this version
icon: Option<String>URL to the icon for this version
version_number: Option<String>The version number (e.g., “1.0.0”)
dependencies: Vec<String>List of dependencies required by this version
download_url: Option<String>URL to download this version
downloads: Option<u32>Number of times this version has been downloaded
date_created: OffsetDateTimeWhen this version was published
website_url: Option<String>URL to the website for this version
is_active: Option<bool>Whether this version is active
uuid4: Option<String>Unique identifier for this version
file_size: Option<u64>Size of the download file in bytes