pub struct ModInfo {
pub mod_type: String,
pub mod_list: Vec<ModInfoItem>,
}Expand description
The mod information object used in FML protocol (version 1.7 - 1.12).
Fields§
§mod_type: StringThe field type of modinfo. It should be FML if forge is installed.
mod_list: Vec<ModInfoItem>The list of the mod installed on the server.
See also ModInfoItem
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModInfo
impl<'de> Deserialize<'de> for ModInfo
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 ModInfo
impl RefUnwindSafe for ModInfo
impl Send for ModInfo
impl Sync for ModInfo
impl Unpin for ModInfo
impl UnwindSafe for ModInfo
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