Struct uu_chown::Passwd[][src]

pub struct Passwd { /* fields omitted */ }

Implementations

impl Passwd[src]

pub fn name(&self) -> Cow<'_, str>[src]

AKA passwd.pw_name

pub fn uid(&self) -> u32[src]

AKA passwd.pw_uid

pub fn gid(&self) -> u32[src]

AKA passwd.pw_gid

pub fn user_info(&self) -> Cow<'_, str>[src]

AKA passwd.pw_gecos

pub fn user_shell(&self) -> Cow<'_, str>[src]

AKA passwd.pw_shell

pub fn user_dir(&self) -> Cow<'_, str>[src]

AKA passwd.pw_dir

pub fn user_passwd(&self) -> Cow<'_, str>[src]

AKA passwd.pw_passwd

pub fn as_inner(&self) -> &passwd[src]

pub fn into_inner(self) -> passwd[src]

pub fn belongs_to(&self) -> Vec<u32, Global>[src]

Trait Implementations

impl<'a> Locate<&'a str> for Passwd[src]

impl Locate<u32> for Passwd[src]

Auto Trait Implementations

impl RefUnwindSafe for Passwd

impl !Send for Passwd

impl !Sync for Passwd

impl Unpin for Passwd

impl UnwindSafe for Passwd

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, 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.