1
2
3
4
5
6
7
8
9
10
use std::time::Instant;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Measurement<V> {
    /// A time stamp
    pub ts: Instant,

    /// The measured value
    pub val: Option<V>,
}