Struct factorio_mod_api::api::FullModSpec
source · pub struct FullModSpec {
pub short_spec: ModSpec,
pub changelog: String,
pub created_at: DateTime<Utc>,
pub homepage: String,
pub images: Vec<ModImage>,
pub license: ModLicense,
pub updated_at: DateTime<Utc>,
pub source_url: Option<Url>,
pub faq: Option<String>,
}
Expand description
A mod as returned from the https://mods.factorio.com/api/mods/{name}/full
endpoint.
Fields
short_spec: ModSpec
Spec data shared with short spec request.
changelog: String
A string describing the recent changes to a mod
created_at: DateTime<Utc>
ISO 6501 for when the mod was created.
homepage: String
Usually a URL to the mod’s main project page, but can be any string.
images: Vec<ModImage>
license: ModLicense
updated_at: DateTime<Utc>
source_url: Option<Url>
faq: Option<String>
Trait Implementations
sourceimpl Debug for FullModSpec
impl Debug for FullModSpec
sourceimpl<'de> Deserialize<'de> for FullModSpec
impl<'de> Deserialize<'de> for FullModSpec
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 FullModSpec
impl Send for FullModSpec
impl Sync for FullModSpec
impl Unpin for FullModSpec
impl UnwindSafe for FullModSpec
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