pub struct ModListing {
pub metadata: ModMetadata,
pub latest_release: ModRelease,
}
Expand description
A mod as returned from the https://mods.factorio.com/api/mods
endpoint
(not yet implemented).
Fields§
§metadata: ModMetadata
Metadata shared between the three different API invocations.
latest_release: ModRelease
The latest version of the mod available for download.
Trait Implementations§
Source§impl Debug for ModListing
impl Debug for ModListing
Source§impl<'de> Deserialize<'de> for ModListing
impl<'de> Deserialize<'de> for ModListing
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 ModListing
impl RefUnwindSafe for ModListing
impl Send for ModListing
impl Sync for ModListing
impl Unpin for ModListing
impl UnwindSafe for ModListing
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