Struct cdfs::PosixAttributes
source · pub struct PosixAttributes {
pub mode: PosixFileMode,
pub links: u32,
pub uid: u32,
pub gid: u32,
pub inode: Option<u32>,
}
Expand description
POSIX.1 attributes from a PX
entry.
This struct contains the permissions, ownership, links, and inode attributes generated from a
PX
entry in the system use table.
See Also
System Use Sharing Protocol § 4.1.1
Fields§
§mode: PosixFileMode
§links: u32
§uid: u32
§gid: u32
§inode: Option<u32>
Serial number. Equivalent to the POSIX.1 st_ino
field.
Notes
This was introduced in Rock Ridge v1.12 and may not be present.
Trait Implementations§
source§impl Clone for PosixAttributes
impl Clone for PosixAttributes
source§fn clone(&self) -> PosixAttributes
fn clone(&self) -> PosixAttributes
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 moresource§impl Debug for PosixAttributes
impl Debug for PosixAttributes
source§impl PartialEq for PosixAttributes
impl PartialEq for PosixAttributes
source§fn eq(&self, other: &PosixAttributes) -> bool
fn eq(&self, other: &PosixAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PosixAttributes
Auto Trait Implementations§
impl RefUnwindSafe for PosixAttributes
impl Send for PosixAttributes
impl Sync for PosixAttributes
impl Unpin for PosixAttributes
impl UnwindSafe for PosixAttributes
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