pub struct User { /* private fields */ }
Expand description
Type containing user information.
It is returned by SystemExt::users
.
use sysinfo::{System, SystemExt};
let s = System::new_all();
println!("users: {:?}", s.users());
Trait Implementations§
source§impl Ord for User
impl Ord for User
source§impl PartialOrd for User
impl PartialOrd for User
impl Eq for User
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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