pub struct IdleStatus {
pub enabled: bool,
pub hidden: bool,
pub suspended: bool,
pub suspend_after_ms: u64,
pub suspends: u32,
pub resumes: u32,
pub native_suspend: bool,
}Fields§
§enabled: bool§suspended: bool§suspend_after_ms: u64§suspends: u32§resumes: u32§native_suspend: boolWhether the platform has a real suspend call (Windows) or only the state and event.
Trait Implementations§
Source§impl Clone for IdleStatus
impl Clone for IdleStatus
Source§impl Debug for IdleStatus
impl Debug for IdleStatus
Auto Trait Implementations§
impl Freeze for IdleStatus
impl RefUnwindSafe for IdleStatus
impl Send for IdleStatus
impl Sync for IdleStatus
impl Unpin for IdleStatus
impl UnsafeUnpin for IdleStatus
impl UnwindSafe for IdleStatus
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