pub struct TransparencyStats {
pub keyboard_events: u64,
pub mouse_events: u64,
pub shortcut_events: u64,
pub windows_completed: u64,
pub snapshots_exported: u64,
pub session_start: DateTime<Utc>,
pub session_duration_secs: u64,
}Expand description
Snapshot of transparency statistics.
Fields§
§keyboard_events: u64Total keyboard events captured this session.
mouse_events: u64Total mouse events captured this session.
shortcut_events: u64Total shortcut events captured this session.
windows_completed: u64Number of time windows completed.
snapshots_exported: u64Number of HSI snapshots exported.
session_start: DateTime<Utc>When the current session started.
session_duration_secs: u64Duration of the current session in seconds.
Trait Implementations§
Source§impl Clone for TransparencyStats
impl Clone for TransparencyStats
Source§fn clone(&self) -> TransparencyStats
fn clone(&self) -> TransparencyStats
Returns a duplicate 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 TransparencyStats
impl Debug for TransparencyStats
Source§impl<'de> Deserialize<'de> for TransparencyStats
impl<'de> Deserialize<'de> for TransparencyStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TransparencyStats
impl RefUnwindSafe for TransparencyStats
impl Send for TransparencyStats
impl Sync for TransparencyStats
impl Unpin for TransparencyStats
impl UnwindSafe for TransparencyStats
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