Struct pgs_files::shadow::ShadowEntry [] [src]

pub struct ShadowEntry {
    pub name: String,
    pub passwd: String,
    pub last_change: c_long,
    pub min: c_long,
    pub max: c_long,
    pub warning: c_long,
    pub inactivity: c_long,
    pub expires: c_long,
    pub flag: c_ulong,
}

An entry from /etc/shadow

Fields

Login name

Encrypted password

Date of last change (measured in days since 1970-01-01 00:00:00 +0000 (UTC))

Min number of days between changes

Max number of days between changes

Number of days before password expires to warn user to change it

Number of days after password expires until account is disabled

Date when account expires (measured in days since 1970-01-01 00:00:00 +0000 (UTC))

Reserved

Trait Implementations

impl Debug for ShadowEntry
[src]

Formats the value using the given formatter.

impl PartialEq for ShadowEntry
[src]

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

This method tests for !=.

impl PartialOrd for ShadowEntry
[src]

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

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

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

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

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

impl Entry for ShadowEntry
[src]