pub struct Sample {
pub timestamp: f64,
pub values: Vec<Value>,
}Expand description
One sample: a timestamp and one value per channel.
Fields§
§timestamp: f64The timestamp. DEDUCED_TIMESTAMP means the reader derives it.
values: Vec<Value>One value per channel. Every value carries the same format.
Trait Implementations§
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
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