Struct craftping::ModInfoItem
source · pub struct ModInfoItem {
pub mod_id: String,
pub version: String,
}
Expand description
The information of an installed mod.
Fields§
§mod_id: String
The id of the mod.
version: String
The version of the mod.
Trait Implementations§
source§impl Clone for ModInfoItem
impl Clone for ModInfoItem
source§fn clone(&self) -> ModInfoItem
fn clone(&self) -> ModInfoItem
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 ModInfoItem
impl Debug for ModInfoItem
source§impl<'de> Deserialize<'de> for ModInfoItem
impl<'de> Deserialize<'de> for ModInfoItem
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 RefUnwindSafe for ModInfoItem
impl Send for ModInfoItem
impl Sync for ModInfoItem
impl Unpin for ModInfoItem
impl UnwindSafe for ModInfoItem
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