#[repr(C)]pub struct passwd {
pub pw_name: *mut c_char,
pub pw_passwd: *mut c_char,
pub pw_uid: uid_t,
pub pw_gid: gid_t,
pub pw_gecos: *mut c_char,
pub pw_dir: *mut c_char,
pub pw_shell: *mut c_char,
}
Fields
pw_name: *mut c_char
pw_passwd: *mut c_char
pw_uid: uid_t
pw_gid: gid_t
pw_gecos: *mut c_char
pw_dir: *mut c_char
pw_shell: *mut c_char
Trait Implementations
sourceimpl Hash for passwd
impl Hash for passwd
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for passwd
impl Eq for passwd
impl StructuralEq for passwd
impl StructuralPartialEq for passwd
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more