pub struct ModMetadata {
pub name: String,
pub owner: String,
pub summary: String,
pub title: String,
pub category: Option<String>,
pub downloads_count: u64,
}
Expand description
Mod metadata shared between the three different API invocations.
Fields§
§name: String
The mod’s machine-readable ID string.
owner: String
The Factorio username of the mod’s author.
summary: String
A shorter mod description.
title: String
The mod’s human-readable name.
category: Option<String>
A single tag describing the mod. Warning: Seems to be absent sometimes.
downloads_count: u64
Number of downloads.
Trait Implementations§
Source§impl Debug for ModMetadata
impl Debug for ModMetadata
Source§impl<'de> Deserialize<'de> for ModMetadata
impl<'de> Deserialize<'de> for ModMetadata
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 ModMetadata
impl RefUnwindSafe for ModMetadata
impl Send for ModMetadata
impl Sync for ModMetadata
impl Unpin for ModMetadata
impl UnwindSafe for ModMetadata
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