pub struct Idle {
pub since: DateTime,
}
Expand description
Represents the last time the user interacted with their system.
Fields§
§since: DateTime
The time at which the user stopped interacting.
Trait Implementations§
Source§impl AsXml for Idle
impl AsXml for Idle
Source§impl FromXml for Idle
impl FromXml for Idle
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§impl TryFrom<Element> for Idle
impl TryFrom<Element> for Idle
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl PresencePayload for Idle
impl StructuralPartialEq for Idle
Auto Trait Implementations§
impl Freeze for Idle
impl RefUnwindSafe for Idle
impl Send for Idle
impl Sync for Idle
impl Unpin for Idle
impl UnwindSafe for Idle
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