Struct scl_core::download::structs::ForgeItemInfo
source · pub struct ForgeItemInfo {
pub version: String,
pub mcversion: String,
pub files: Vec<ForgeFile>,
}
Expand description
一个加载器的版本信息
Fields§
§version: String
该加载器的版本号
在 1.14 以前,Forge 使用四元数来记录版本,而后去掉了最后一个构建版本号
mcversion: String
该加载器对应支持的原版版本号
files: Vec<ForgeFile>
该加载器的下载文件列表,有安装器或通用版本或模组开发套件(MDK)
Trait Implementations§
source§impl Clone for ForgeItemInfo
impl Clone for ForgeItemInfo
source§fn clone(&self) -> ForgeItemInfo
fn clone(&self) -> ForgeItemInfo
Returns a copy of the value. Read more
1.0.0 · 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 ForgeItemInfo
impl Debug for ForgeItemInfo
source§impl<'de> Deserialize<'de> for ForgeItemInfo
impl<'de> Deserialize<'de> for ForgeItemInfo
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<ForgeItemInfo> for ForgeItemInfo
impl PartialEq<ForgeItemInfo> for ForgeItemInfo
source§fn eq(&self, other: &ForgeItemInfo) -> bool
fn eq(&self, other: &ForgeItemInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ForgeItemInfo
impl StructuralEq for ForgeItemInfo
impl StructuralPartialEq for ForgeItemInfo
Auto Trait Implementations§
impl RefUnwindSafe for ForgeItemInfo
impl Send for ForgeItemInfo
impl Sync for ForgeItemInfo
impl Unpin for ForgeItemInfo
impl UnwindSafe for ForgeItemInfo
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.