Struct object::archive::Header [−][src]
#[repr(C)]pub struct Header { pub name: [u8; 16], pub date: [u8; 12], pub uid: [u8; 6], pub gid: [u8; 6], pub mode: [u8; 8], pub size: [u8; 10], pub terminator: [u8; 2], }
The header at the start of an archive member.
Fields
name: [u8; 16]
The file name.
date: [u8; 12]
File modification timestamp in decimal.
uid: [u8; 6]
User ID in decimal.
gid: [u8; 6]
Group ID in decimal.
mode: [u8; 8]
File mode in octal.
size: [u8; 10]
File size in decimal.
terminator: [u8; 2]
Must be equal to TERMINATOR
.
Trait Implementations
impl Clone for Header
[src]
impl Clone for Header
[src]fn clone(&self) -> Header
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Header
[src]
impl Pod for Header
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.