[−][src]Struct df_st_core::df_st_info::ModInfo
Information about the a mod in Dwarf Fortress or DF Storyteller
Fields
name: String
The name of the mod The name must be unique, no mods can have the same name A list of mods can be found here
version: String
The version of the mod that is used. This can be used to enable/disable features in the UI.
url: String
A valid URL where the mod can be downloaded or more info can be found.
properties: HashMap<String, Value>
Additional properties that can be set by the mod.
Implementations
impl ModInfo
[src]
Trait Implementations
impl Clone for ModInfo
[src]
impl Debug for ModInfo
[src]
impl Default for ModInfo
[src]
impl<'de> Deserialize<'de> for ModInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl JsonSchema for ModInfo
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
impl SchemaExample for ModInfo
[src]
impl Serialize for ModInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ModInfo
impl Send for ModInfo
impl Sync for ModInfo
impl Unpin for ModInfo
impl UnwindSafe for ModInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,