pub struct SessionEntry {
pub id: SessionId,
pub card: SessionCard,
pub last_seen_unix_ms: u64,
pub live: bool,
}Expand description
One session under an account, as the mailbox’s directory reports it.
live is filled by the mailbox from a liveness check it is given, not
one it performs itself – mail4agent-core learns nothing about
processes or Windows; see MailboxEngine::directory.
Fields§
§id: SessionId§card: SessionCard§last_seen_unix_ms: u64§live: boolImplementations§
Trait Implementations§
Source§impl Clone for SessionEntry
impl Clone for SessionEntry
Source§impl Debug for SessionEntry
impl Debug for SessionEntry
Source§impl<'de> Deserialize<'de> for SessionEntry
impl<'de> Deserialize<'de> for SessionEntry
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
impl Eq for SessionEntry
Source§impl PartialEq for SessionEntry
impl PartialEq for SessionEntry
Source§impl Serialize for SessionEntry
impl Serialize for SessionEntry
impl StructuralPartialEq for SessionEntry
Auto Trait Implementations§
impl Freeze for SessionEntry
impl RefUnwindSafe for SessionEntry
impl Send for SessionEntry
impl Sync for SessionEntry
impl Unpin for SessionEntry
impl UnsafeUnpin for SessionEntry
impl UnwindSafe for SessionEntry
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