Struct pgs_files::passwd::PasswdEntry [] [src]

pub struct PasswdEntry {
    pub name: String,
    pub passwd: String,
    pub uid: uid_t,
    pub gid: gid_t,
    pub gecos: String,
    pub dir: String,
    pub shell: String,
}

An entry from /etc/passwd

Fields

name: String

Username

passwd: String

User Password

uid: uid_t

User ID

gid: gid_t

Group ID

gecos: String

User Information

dir: String

Home Directory

shell: String

User's Shell

Trait Implementations

impl PartialOrd for PasswdEntry
[src]

fn partial_cmp(&self, __arg_0: &PasswdEntry) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, __arg_0: &PasswdEntry) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, __arg_0: &PasswdEntry) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, __arg_0: &PasswdEntry) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, __arg_0: &PasswdEntry) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq for PasswdEntry
[src]

fn eq(&self, __arg_0: &PasswdEntry) -> bool

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

fn ne(&self, __arg_0: &PasswdEntry) -> bool

This method tests for !=.

impl Debug for PasswdEntry
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Entry for PasswdEntry
[src]