#[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§
impl Copy for passwd
impl Eq for passwd
impl StructuralPartialEq for passwd
Auto Trait Implementations§
impl Freeze for passwd
impl RefUnwindSafe for passwd
impl !Send for passwd
impl !Sync for passwd
impl Unpin for passwd
impl UnwindSafe for passwd
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)