Struct users::User [] [src]

pub struct User {
    pub uid: uid_t,
    pub name: String,
    pub primary_group: gid_t,
    pub home_dir: String,
    pub shell: String,
}

Information about a particular user.

Fields

uid: uid_t

This user's ID

name: String

This user's name

primary_group: gid_t

The ID of this user's primary group

home_dir: String

This user's home directory

shell: String

This user's shell

Trait Implementations

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