pub struct ModJSON {
pub name: String,
pub description: String,
pub version: String,
pub load_priority: Option<i32>,
pub required_on_client: Option<bool>,
pub con_vars: Vec<Value>,
pub scripts: Vec<Value>,
pub localisation: Vec<String>,
pub _extra: HashMap<String, Value>,
}Fields§
§name: String§description: String§version: String§load_priority: Option<i32>§required_on_client: Option<bool>§con_vars: Vec<Value>§scripts: Vec<Value>§localisation: Vec<String>§_extra: HashMap<String, Value>Trait Implementations§
source§impl<'de> Deserialize<'de> for ModJSON
impl<'de> Deserialize<'de> for ModJSON
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
source§impl PartialEq for ModJSON
impl PartialEq for ModJSON
impl Eq for ModJSON
impl StructuralEq for ModJSON
impl StructuralPartialEq for ModJSON
Auto Trait Implementations§
impl RefUnwindSafe for ModJSON
impl Send for ModJSON
impl Sync for ModJSON
impl Unpin for ModJSON
impl UnwindSafe for ModJSON
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