#[repr(C)]
pub struct USER_INFO_4 {
Show 29 fields pub usri4_name: PWSTR, pub usri4_password: PWSTR, pub usri4_password_age: u32, pub usri4_priv: USER_PRIV, pub usri4_home_dir: PWSTR, pub usri4_comment: PWSTR, pub usri4_flags: USER_ACCOUNT_FLAGS, pub usri4_script_path: PWSTR, pub usri4_auth_flags: AF_OP, pub usri4_full_name: PWSTR, pub usri4_usr_comment: PWSTR, pub usri4_parms: PWSTR, pub usri4_workstations: PWSTR, pub usri4_last_logon: u32, pub usri4_last_logoff: u32, pub usri4_acct_expires: u32, pub usri4_max_storage: u32, pub usri4_units_per_week: u32, pub usri4_logon_hours: *mut u8, pub usri4_bad_pw_count: u32, pub usri4_num_logons: u32, pub usri4_logon_server: PWSTR, pub usri4_country_code: u32, pub usri4_code_page: u32, pub usri4_user_sid: PSID, pub usri4_primary_group_id: u32, pub usri4_profile: PWSTR, pub usri4_home_dir_drive: PWSTR, pub usri4_password_expired: u32,
}

Fields§

§usri4_name: PWSTR§usri4_password: PWSTR§usri4_password_age: u32§usri4_priv: USER_PRIV§usri4_home_dir: PWSTR§usri4_comment: PWSTR§usri4_flags: USER_ACCOUNT_FLAGS§usri4_script_path: PWSTR§usri4_auth_flags: AF_OP§usri4_full_name: PWSTR§usri4_usr_comment: PWSTR§usri4_parms: PWSTR§usri4_workstations: PWSTR§usri4_last_logon: u32§usri4_last_logoff: u32§usri4_acct_expires: u32§usri4_max_storage: u32§usri4_units_per_week: u32§usri4_logon_hours: *mut u8§usri4_bad_pw_count: u32§usri4_num_logons: u32§usri4_logon_server: PWSTR§usri4_country_code: u32§usri4_code_page: u32§usri4_user_sid: PSID§usri4_primary_group_id: u32§usri4_profile: PWSTR§usri4_home_dir_drive: PWSTR§usri4_password_expired: u32

Trait Implementations§

§

impl Clone for USER_INFO_4

§

fn clone(&self) -> USER_INFO_4

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for USER_INFO_4

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

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

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

source§

fn into(self) -> U

Calls U::from(self).

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

source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

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

Performs the conversion.