#[repr(C)]pub struct passwd {
pub pw_name: *mut i8,
pub pw_passwd: *mut i8,
pub pw_uid: u32,
pub pw_gid: u32,
pub pw_gecos: *mut i8,
pub pw_dir: *mut i8,
pub pw_shell: *mut i8,
}
Fields
pw_name: *mut i8
pw_passwd: *mut i8
pw_uid: u32
pw_gid: u32
pw_gecos: *mut i8
pw_dir: *mut i8
pw_shell: *mut i8
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more