Struct users_native::User
[−]
[src]
pub struct User { pub name: String, pub uid: u32, pub gid: u32, pub gecos: Option<String>, pub directory: String, pub shell: String, }
Structure used to wrap parsed information from user database
Fields
name: String
User's name
uid: u32
User's UID
gid: u32
User's numeric primary group ID
gecos: Option<String>
User's comment field
directory: String
User's home directory
shell: String
User's shell used at login
Trait Implementations
impl Debug for User
[src]
impl PartialEq for User
[src]
fn eq(&self, __arg_0: &User) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &User) -> bool
This method tests for !=
.
impl Clone for User
[src]
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more