pub struct LogonSessions {
pub logon_sessions: Vec<Win32_LogonSession>,
pub last_updated: SystemTime,
}Expand description
Represents the state of Windows data about logon session or sessions associated with a user logged
Fields§
§logon_sessions: Vec<Win32_LogonSession>Sequence of windows logon sessions
last_updated: SystemTimeWhen was the record last updated
Implementations§
Source§impl LogonSessions
impl LogonSessions
Sourcepub async fn async_update(&mut self)
pub async fn async_update(&mut self)
Update fields asynchronously
Trait Implementations§
Source§impl Clone for LogonSessions
impl Clone for LogonSessions
Source§fn clone(&self) -> LogonSessions
fn clone(&self) -> LogonSessions
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 LogonSessions
impl Debug for LogonSessions
Source§impl Default for LogonSessions
impl Default for LogonSessions
Source§impl<'de> Deserialize<'de> for LogonSessions
impl<'de> Deserialize<'de> for LogonSessions
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 LogonSessions
impl RefUnwindSafe for LogonSessions
impl Send for LogonSessions
impl Sync for LogonSessions
impl Unpin for LogonSessions
impl UnwindSafe for LogonSessions
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