pub struct AtMod {Show 15 fields
pub name: String,
pub version: Option<String>,
pub url: String,
pub file: String,
pub path: Option<String>,
pub md5: Option<String>,
pub sha1: Option<String>,
pub download: AtDownloadType,
pub website: Option<String>,
pub mod_type: AtModType,
pub extract_to: Option<AtExtractTo>,
pub extract_folder: Option<String>,
pub client: bool,
pub optional: bool,
pub recommended: bool,
}Fields§
§name: String§version: Option<String>§url: String§file: String§path: Option<String>Overrides the target directory for mods entries.
md5: Option<String>§sha1: Option<String>§download: AtDownloadType§website: Option<String>§mod_type: AtModType§extract_to: Option<AtExtractTo>§extract_folder: Option<String>§client: bool§optional: bool§recommended: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AtMod
impl<'de> Deserialize<'de> for AtMod
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 AtMod
impl RefUnwindSafe for AtMod
impl Send for AtMod
impl Sync for AtMod
impl Unpin for AtMod
impl UnsafeUnpin for AtMod
impl UnwindSafe for AtMod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more