#[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§
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes