pub struct Mod {
pub id: u32,
pub url: String,
pub title: String,
pub author: String,
pub info: String,
pub version: String,
pub downloads: u64,
pub rating: u8,
pub thumbnail: Option<String>,
pub created: String,
}Expand description
A mod as the site lists it.
Fields§
§id: u32The mod’s id on the site.
url: StringThe mod’s part of its address: 679-CC-New-Frontier-BlackLiquid.
title: StringThe mod’s title.
Its author.
info: StringThe start of its description.
version: StringThe version the author gave the newest upload (1.55).
downloads: u64How many times it was downloaded.
rating: u8The share of players who liked it, 0 to 100.
thumbnail: Option<String>Its thumbnail image (a PNG), as a full address.
created: StringWhen it was created (2014-10-26 05:07:55).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Mod
Auto Trait Implementations§
impl Freeze for Mod
impl RefUnwindSafe for Mod
impl Send for Mod
impl Sync for Mod
impl Unpin for Mod
impl UnsafeUnpin for Mod
impl UnwindSafe for Mod
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