pub struct SessionLog {
pub id: String,
pub started_at: Instant,
pub metrics: SessionMetrics,
}Fields§
§id: String§started_at: Instant§metrics: SessionMetricsImplementations§
Source§impl SessionLog
impl SessionLog
pub fn new() -> Self
pub fn elapsed_secs(&self) -> u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLog
impl UnwindSafe for SessionLog
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