pub struct Version {
pub name: String,
pub version_type: VersionType,
pub created_date: SystemTime,
pub access_date: SystemTime,
}
Expand description
一个游戏版本的信息
Fields§
§name: String
版本名称,通常和其文件夹同名
version_type: VersionType
版本类型,一般通过 crate::version::structs::VersionInfo::guess_version_type
猜测出,用于展示版本类型和判断是否需要版本独立
created_date: SystemTime
版本的创建日期,实际是该文件夹的创建日期
access_date: SystemTime
版本的上一次游玩日期,实际是该文件夹的上一次访问日期
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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