Struct rc_zip::parse::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
file user id
gid: u64
file group id
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 moreAuto Trait Implementations§
impl Freeze for ExtraNewUnixField
impl RefUnwindSafe for ExtraNewUnixField
impl Send for ExtraNewUnixField
impl Sync for ExtraNewUnixField
impl Unpin for ExtraNewUnixField
impl UnwindSafe for ExtraNewUnixField
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
)