pub struct SessionInfo {
pub now: SystemTime,
pub timeout_time: SystemTime,
}Expand description
Snapshot returned by Session::get_info.
now is the wall-clock at the moment the call was made; timeout_time
is the wall-clock instant at which the wallet manager will auto-lock
(or far-future if the timeout is disabled).
Fields§
§now: SystemTime§timeout_time: SystemTimeAuto Trait Implementations§
impl Forget for SessionInfo
impl Freeze for SessionInfo
impl Move for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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