pub struct Version {
pub host_system: HostSystem,
pub version: u8,
}
Expand description
A zip version (either created by, or required when reading an archive).
Versions determine which features are supported by a tool, and which features are required when reading a file.
For more information, see the .ZIP Application Note, section 4.4.2.
Fields§
§host_system: HostSystem
The host system on which
version: u8
Integer version, e.g. 45 for Zip version 4.5 See APPNOTE, section 4.4.2.1
Implementations§
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)