Trait lrs::user::UserInfo

Objects that hold user info.

Syntax

trait UserInfo {
    /* Required methods */
    fn comment(&self) -> &ByteStr
    fn group_id(&self) -> u32
    fn home(&self) -> &ByteStr
    fn name(&self) -> &ByteStr
    fn password(&self) -> &ByteStr
    fn shell(&self) -> &ByteStr
    fn user_id(&self) -> u32
}

Methods

ReceiverNameDescription
&selfcomment

Returns the comment of the user.

&selfgroup_id

Returns the group id of the user.

&selfhome

Returns the home folder of the user.

&selfname

Returns the name of the user.

&selfpassword

Returns the password of the user.

&selfshell

Returns the shell of the user.

&selfuser_id

Returns the user id of the user.