pub struct ModLoaderVersion {
pub name: String,
pub game_version: String,
pub latest: bool,
pub recommended: bool,
pub date_modified: OffsetDateTime,
pub type_id: u32,
}
Expand description
A Minecraft modloader version struct.
This struct is used to deserialize the response from the CurseForge API.
§Fields
name
- The name of the modloader version.game_version
- The game version of the modloader version.latest
- Whether or not the modloader version is the latest.recommended
- Whether or not the modloader version is the recommended.date_modified
- The date and time the modloader version was last modified.type_id
- The ID of the modloader version’s type.
Fields§
§name: String
The name of the modloader version.
game_version: String
The game version of the modloader version.
latest: bool
Whether or not the modloader version is the latest.
recommended: bool
Whether or not the modloader version is the recommended.
date_modified: OffsetDateTime
The date and time the modloader version was last modified. The ID of the modloader version’s type.
type_id: u32
The ID of the modloader version’s type.
Trait Implementations§
Source§impl Debug for ModLoaderVersion
impl Debug for ModLoaderVersion
Source§impl<'de> Deserialize<'de> for ModLoaderVersion
impl<'de> Deserialize<'de> for ModLoaderVersion
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 ModLoaderVersion
impl RefUnwindSafe for ModLoaderVersion
impl Send for ModLoaderVersion
impl Sync for ModLoaderVersion
impl Unpin for ModLoaderVersion
impl UnwindSafe for ModLoaderVersion
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