pub struct Info {
pub creator_version: u16,
pub date: u32,
pub first_track: u16,
pub last_track: u16,
pub packed_size: u32,
pub unpacked_size: u32,
pub disk_type: DiskType,
pub default_mode: Option<Mode>,
pub info: GenInfo,
}Expand description
Metadata from the 56-byte archive header.
Fields§
§creator_version: u16DMS version that created the archive, encoded as major * 100 + minor.
date: u32Creation time as a Unix timestamp (seconds since the epoch).
first_track: u16Lowest track number present (may be wrong on appended archives).
last_track: u16Highest track number present (may be wrong on appended archives).
packed_size: u32Total packed size of all tracks.
unpacked_size: u32Total unpacked size (typically 901,120 for a standard DD disk).
disk_type: DiskTypeFilesystem/format of the archived disk.
default_mode: Option<Mode>Compression mode used by most tracks; None if the byte is unrecognised.
info: GenInfoArchive-wide flags.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnsafeUnpin for Info
impl UnwindSafe for Info
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