Mojo struct
Passwd
struct Passwd
Represents user account information retrieved from the user password database related to a user ID.
Fields
- pw_name (
String): User name. - pw_passwd (
String): User password. - pw_uid (
Int): User ID. - pw_gid (
Int): Group ID. - pw_gecos (
String): Real name or comment field. - pw_dir (
String): Home directory. - pw_shell (
String): Shell program.
Implemented traits
AnyType,
Copyable,
ImplicitlyDestructible,
Movable,
Writable
Methods
write_to
write_to(self, mut writer: T)
Formats this string to the provided Writer.
Args:
- writer (
T): The object to write to.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!