Struct factorio_mod_api::api::ModListing
source · 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
sourceimpl Debug for ModListing
impl Debug for ModListing
sourceimpl<'de> Deserialize<'de> for ModListing
impl<'de> Deserialize<'de> for ModListing
sourcefn 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 RefUnwindSafe for ModListing
impl Send for ModListing
impl Sync for ModListing
impl Unpin for ModListing
impl UnwindSafe for ModListing
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more