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,
}Fields§
§bits: u32§uid: u32§gid: u32§flags: u32§mode: u32§backup_time: Timespec§creation_time: Timespec§modification_time: TimespecImplementations§
Source§impl EntryAttributes
impl EntryAttributes
pub const UID_BIT: u32
pub const GID_BIT: u32
pub const FLAGS_BIT: u32
pub const MODE_BIT: u32
pub const BACKUP_TIME_BIT: u32
pub const CREATION_TIME_BIT: u32
pub const MODIFICATION_TIME_BIT: u32
pub const fn has_uid(self) -> bool
pub const fn has_gid(self) -> bool
pub const fn has_flags(self) -> bool
pub const fn has_mode(self) -> bool
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 moreSource§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
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 Copy for EntryAttributes
impl Eq for EntryAttributes
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