pub struct OwnershipInfo {
pub uid: u32,
pub gid: u32,
pub pkg: String,
}
Expand description
Typed representation of ownership information for a filesystem path.
Centralized under crate::types
for cross-layer reuse.
Fields§
§uid: u32
User ID of the owner
gid: u32
Group ID of the owner
pkg: String
Package name associated with the ownership
Trait Implementations§
Source§impl Clone for OwnershipInfo
impl Clone for OwnershipInfo
Source§fn clone(&self) -> OwnershipInfo
fn clone(&self) -> OwnershipInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for OwnershipInfo
impl RefUnwindSafe for OwnershipInfo
impl Send for OwnershipInfo
impl Sync for OwnershipInfo
impl Unpin for OwnershipInfo
impl UnwindSafe for OwnershipInfo
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