use crate::timestamp::{Timestamp, Timestamped};
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
pub struct LatestSessionStart(Timestamp);
impl LatestSessionStart {
pub fn new(timestamp: Timestamp) -> Self {
Self(timestamp)
}
}
impl Timestamped for LatestSessionStart {
fn timestamp(&self) -> &Timestamp {
&self.0
}
}