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

User's name

User's UID

User's numeric primary group ID

User's comment field

User's home directory

User's shell used at login

Trait Implementations

impl Debug for User
[src]

Formats the value using the given formatter.

impl PartialEq for User
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for User
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more