pub struct SessionTime {
pub created: f64,
pub updated: f64,
pub compacting: Option<f64>,
pub archived: Option<f64>,
}Expand description
Timing information for a Session.
Fields§
§created: f64Epoch timestamp when the session was created.
updated: f64Epoch timestamp when the session was last updated.
compacting: Option<f64>Epoch timestamp when compaction started.
archived: Option<f64>Epoch timestamp when the session was archived.
Trait Implementations§
Source§impl Clone for SessionTime
impl Clone for SessionTime
Source§fn clone(&self) -> SessionTime
fn clone(&self) -> SessionTime
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 SessionTime
impl Debug for SessionTime
Source§impl<'de> Deserialize<'de> for SessionTime
impl<'de> Deserialize<'de> for SessionTime
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
Source§impl PartialEq for SessionTime
impl PartialEq for SessionTime
Source§impl Serialize for SessionTime
impl Serialize for SessionTime
impl StructuralPartialEq for SessionTime
Auto Trait Implementations§
impl Freeze for SessionTime
impl RefUnwindSafe for SessionTime
impl Send for SessionTime
impl Sync for SessionTime
impl Unpin for SessionTime
impl UnwindSafe for SessionTime
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