Struct spwd

#[repr(C)]
pub struct spwd { pub sp_namp: *mut c_char, pub sp_pwdp: *mut c_char, pub sp_lstchg: c_long, pub sp_min: c_long, pub sp_max: c_long, pub sp_warn: c_long, pub sp_inact: c_long, pub sp_expire: c_long, pub sp_flag: c_ulong }

Fields

sp_namp: *mut c_char
sp_pwdp: *mut c_char
sp_lstchg: c_long
sp_min: c_long
sp_max: c_long
sp_warn: c_long
sp_inact: c_long
sp_expire: c_long
sp_flag: c_ulong

Trait Implementations

impl Clone for spwd

fn clone(&self) -> Self

impl Copy for spwd

impl Debug for spwd

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for spwd

impl Hash for spwd

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for spwd

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for spwd

Auto Trait Implementations

impl !Send for spwd

impl !Sync for spwd

impl Freeze for spwd

impl RefUnwindSafe for spwd

impl Unpin for spwd

impl UnsafeUnpin for spwd

impl UnwindSafe for spwd

Blanket Implementations

impl<T> Any for spwd where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for spwd where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for spwd where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for spwd where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for spwd

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for spwd where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for spwd where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for spwd where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>