Enum windows_service::service::UserStatus
source · #[repr(i32)]
pub enum UserStatus {
Present,
Inactive,
}Expand description
Enum indicates the combined status of user presence across all local and remote sessions on the system as the Data member of GUID_GLOBAL_USER_PRESENCE notification
Variants§
Implementations§
source§impl UserStatus
impl UserStatus
pub fn to_raw(&self) -> i32
pub fn from_raw(raw: i32) -> Result<UserStatus, ParseRawError>
Trait Implementations§
source§impl Clone for UserStatus
impl Clone for UserStatus
source§fn clone(&self) -> UserStatus
fn clone(&self) -> UserStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UserStatus
impl Debug for UserStatus
source§impl Hash for UserStatus
impl Hash for UserStatus
source§impl PartialEq<UserStatus> for UserStatus
impl PartialEq<UserStatus> for UserStatus
source§fn eq(&self, other: &UserStatus) -> bool
fn eq(&self, other: &UserStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.