pub struct FileObjectIdentity {
pub device_major: u32,
pub device_minor: u32,
pub mount_id: u64,
pub inode: u64,
}Expand description
The kernel identity of one file object on one mounted filesystem.
Fields§
§device_major: u32Device major number reported by statx.
device_minor: u32Device minor number reported by statx.
mount_id: u64Mount identifier in this mount namespace.
inode: u64Inode number within the mounted filesystem.
Trait Implementations§
Source§impl Clone for FileObjectIdentity
impl Clone for FileObjectIdentity
Source§fn clone(&self) -> FileObjectIdentity
fn clone(&self) -> FileObjectIdentity
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 FileObjectIdentity
impl Debug for FileObjectIdentity
Source§impl<'de> Deserialize<'de> for FileObjectIdentity
impl<'de> Deserialize<'de> for FileObjectIdentity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileObjectIdentity
Source§impl Ord for FileObjectIdentity
impl Ord for FileObjectIdentity
Source§fn cmp(&self, other: &FileObjectIdentity) -> Ordering
fn cmp(&self, other: &FileObjectIdentity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FileObjectIdentity
impl PartialEq for FileObjectIdentity
Source§impl PartialOrd for FileObjectIdentity
impl PartialOrd for FileObjectIdentity
Source§impl Serialize for FileObjectIdentity
impl Serialize for FileObjectIdentity
impl StructuralPartialEq for FileObjectIdentity
Auto Trait Implementations§
impl Freeze for FileObjectIdentity
impl RefUnwindSafe for FileObjectIdentity
impl Send for FileObjectIdentity
impl Sync for FileObjectIdentity
impl Unpin for FileObjectIdentity
impl UnsafeUnpin for FileObjectIdentity
impl UnwindSafe for FileObjectIdentity
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