pub struct ForgeData {
pub channels: Vec<ForgeChannel>,
pub mods: Vec<ForgeMod>,
pub fml_network_version: i32,
}
Expand description
The forge information object used in FML2 protocol (version 1.13 - current).
Fields§
§channels: Vec<ForgeChannel>
The list of the channels used by the mods. See the minecraft protocol wiki for more information.
mods: Vec<ForgeMod>
The list of the mods installed on the server.
fml_network_version: i32
Trait Implementations§
source§impl<'de> Deserialize<'de> for ForgeData
impl<'de> Deserialize<'de> for ForgeData
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 RefUnwindSafe for ForgeData
impl Send for ForgeData
impl Sync for ForgeData
impl Unpin for ForgeData
impl UnwindSafe for ForgeData
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