Struct rc_zip::ExtraNewUnixField
source · pub struct ExtraNewUnixField {
pub uid: u64,
pub gid: u64,
}
Expand description
Info-ZIP New Unix Extra Field:
Currently stores Unix UIDs/GIDs up to 32 bits. (Last Revision 20080509)
Value Size Description
----- ---- -----------
0x7875 Short tag for this extra block type ("ux")
TSize Short total data size for this block
Version 1 byte version of this extra field, currently 1
UIDSize 1 byte Size of UID field
UID Variable UID for this entry
GIDSize 1 byte Size of GID field
GID Variable GID for this entry
Fields§
§uid: u64
§gid: u64
Trait Implementations§
source§impl Clone for ExtraNewUnixField
impl Clone for ExtraNewUnixField
source§fn clone(&self) -> ExtraNewUnixField
fn clone(&self) -> ExtraNewUnixField
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 more