pub struct User {
pub username: String,
pub uid: Option<Uid>,
pub gid: Option<Gid>,
pub shell: Option<String>,
pub homedir: String,
}
Expand description
Data type for user information.
Fields§
§username: String
§uid: Option<Uid>
§gid: Option<Gid>
§shell: Option<String>
§homedir: String
Auto Trait Implementations§
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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