pub struct Mod<'a> {
pub link: &'a str,
pub download_link: &'a str,
pub version: i32,
pub size: i32,
pub multiplayer_only: bool,
pub own_dll: bool,
}Expand description
Optional GoldSrc mod metadata included in a server information response.
Fields§
§link: &'a strMod website URL.
download_link: &'a strMod download URL.
version: i32Mod version number.
size: i32Mod size in bytes.
multiplayer_only: boolWhether the mod is multiplayer-only.
own_dll: boolWhether the mod provides its own client DLL.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Mod<'a>
impl<'a> Freeze for Mod<'a>
impl<'a> Move for Mod<'a>
impl<'a> RefUnwindSafe for Mod<'a>
impl<'a> Send for Mod<'a>
impl<'a> Sync for Mod<'a>
impl<'a> Unpin for Mod<'a>
impl<'a> UnsafeUnpin for Mod<'a>
impl<'a> UnwindSafe for Mod<'a>
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