pub struct LoaderVersion {
pub id: String,
pub url: String,
pub stable: bool,
}Expand description
A version of a Minecraft mod loader
Fields§
§id: StringThe version ID of the loader
url: StringThe URL of the version’s manifest
stable: boolWhether the loader is stable or not
Trait Implementations§
Source§impl Clone for LoaderVersion
impl Clone for LoaderVersion
Source§fn clone(&self) -> LoaderVersion
fn clone(&self) -> LoaderVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoaderVersion
impl Debug for LoaderVersion
Source§impl<'de> Deserialize<'de> for LoaderVersion
impl<'de> Deserialize<'de> for LoaderVersion
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 LoaderVersion
impl RefUnwindSafe for LoaderVersion
impl Send for LoaderVersion
impl Sync for LoaderVersion
impl Unpin for LoaderVersion
impl UnsafeUnpin for LoaderVersion
impl UnwindSafe for LoaderVersion
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