#[repr(C)]pub struct EntryAttributes {
pub bits: u32,
pub uid: u32,
pub gid: u32,
pub flags: u32,
pub mode: u32,
pub backup_time: Timespec,
pub creation_time: Timespec,
pub modification_time: Timespec,
}Expand description
Wraps AppleArchive entry attribute values.
Fields§
§bits: u32Wraps the bits field of EntryAttributes.
uid: u32Wraps the uid field of EntryAttributes.
gid: u32Wraps the gid field of EntryAttributes.
flags: u32Wraps the flags field of EntryAttributes.
mode: u32Wraps the mode field of EntryAttributes.
backup_time: TimespecWraps the backup_time field of EntryAttributes.
creation_time: TimespecWraps the creation_time field of EntryAttributes.
modification_time: TimespecWraps the modification_time field of EntryAttributes.
Implementations§
Source§impl EntryAttributes
impl EntryAttributes
Sourcepub const BACKUP_TIME_BIT: u32
pub const BACKUP_TIME_BIT: u32
Wraps the BACKUP_TIME_BIT AppleArchive entry attribute bit.
Sourcepub const CREATION_TIME_BIT: u32
pub const CREATION_TIME_BIT: u32
Wraps the CREATION_TIME_BIT AppleArchive entry attribute bit.
Sourcepub const MODIFICATION_TIME_BIT: u32
pub const MODIFICATION_TIME_BIT: u32
Wraps the MODIFICATION_TIME_BIT AppleArchive entry attribute bit.
Trait Implementations§
Source§impl Clone for EntryAttributes
impl Clone for EntryAttributes
Source§fn clone(&self) -> EntryAttributes
fn clone(&self) -> EntryAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntryAttributes
Source§impl Debug for EntryAttributes
impl Debug for EntryAttributes
Source§impl Default for EntryAttributes
impl Default for EntryAttributes
Source§fn default() -> EntryAttributes
fn default() -> EntryAttributes
Returns the “default value” for a type. Read more
impl Eq for EntryAttributes
Source§impl Hash for EntryAttributes
impl Hash for EntryAttributes
Source§impl PartialEq for EntryAttributes
impl PartialEq for EntryAttributes
Source§fn eq(&self, other: &EntryAttributes) -> bool
fn eq(&self, other: &EntryAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntryAttributes
Auto Trait Implementations§
impl Freeze for EntryAttributes
impl RefUnwindSafe for EntryAttributes
impl Send for EntryAttributes
impl Sync for EntryAttributes
impl Unpin for EntryAttributes
impl UnsafeUnpin for EntryAttributes
impl UnwindSafe for EntryAttributes
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