Struct starnix_uapi::auth::FsCred
source · pub struct FsCred {
pub uid: uid_t,
pub gid: gid_t,
}
Expand description
The owner and group of a file. Used as a parameter for functions that create files.
Fields§
§uid: uid_t
§gid: gid_t
Implementations§
Trait Implementations§
source§impl From<Credentials> for FsCred
impl From<Credentials> for FsCred
source§fn from(c: Credentials) -> Self
fn from(c: Credentials) -> Self
Converts to this type from the input type.
impl Copy for FsCred
Auto Trait Implementations§
impl Freeze for FsCred
impl RefUnwindSafe for FsCred
impl Send for FsCred
impl Sync for FsCred
impl Unpin for FsCred
impl UnwindSafe for FsCred
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