[][src]Struct users::os::bsd::UserExtras

pub struct UserExtras {
    pub extras: UserExtras,
    pub change: time_t,
    pub expire: time_t,
}

BSD-specific fields for Users.

Fields

extras: UserExtras

Fields specific to Unix, rather than just BSD. (This struct is a superset, so it has to have all the other fields in it, too).

change: time_t

Password change time.

expire: time_t

Password expiry time.

Implementations

impl UserExtras[src]

pub unsafe fn from_passwd(passwd: c_passwd) -> Self[src]

Extract the OS-specific fields from the C passwd struct that we just read.

Trait Implementations

impl Clone for UserExtras[src]

impl Debug for UserExtras[src]

impl Default for UserExtras[src]

Auto Trait Implementations

impl RefUnwindSafe for UserExtras

impl Send for UserExtras

impl Sync for UserExtras

impl Unpin for UserExtras

impl UnwindSafe for UserExtras

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.