pub struct FabricJson {
pub id: String,
pub libraries: Vec<LoaderLibrary>,
pub main_class: Option<String>,
pub minecraft_arguments: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Profile JSON fetched from the Fabric/Quilt meta API
(e.g. meta.fabricmc.net/v2/versions/loader/{mc}/{build}/profile/json).
Fields§
§id: String§libraries: Vec<LoaderLibrary>§main_class: Option<String>§minecraft_arguments: Option<String>§extra: HashMap<String, Value>Trait Implementations§
Source§impl Debug for FabricJson
impl Debug for FabricJson
Source§impl<'de> Deserialize<'de> for FabricJson
impl<'de> Deserialize<'de> for FabricJson
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 FabricJson
impl RefUnwindSafe for FabricJson
impl Send for FabricJson
impl Sync for FabricJson
impl Unpin for FabricJson
impl UnsafeUnpin for FabricJson
impl UnwindSafe for FabricJson
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