pub struct WindowsAnalysis<T> {
pub window_size: T,
pub metrics: Vec<HrvMetrics<T>>,
}Expand description
A struct that holds the HRV metrics for each window in the analysis.
WindowsAnalysis<T> stores the HRV metrics computed for each window of RR intervals.
The metrics vector contains the HRV results for all the non-overlapping windows
that have been processed. Each window is defined by the specified window_size.
Fields§
§window_size: TThe size of the sliding window used for the analysis.
metrics: Vec<HrvMetrics<T>>The list of HRV metrics computed for each window.
Auto Trait Implementations§
impl<T> Freeze for WindowsAnalysis<T>where
T: Freeze,
impl<T> RefUnwindSafe for WindowsAnalysis<T>where
T: RefUnwindSafe,
impl<T> Send for WindowsAnalysis<T>where
T: Send,
impl<T> Sync for WindowsAnalysis<T>where
T: Sync,
impl<T> Unpin for WindowsAnalysis<T>where
T: Unpin,
impl<T> UnsafeUnpin for WindowsAnalysis<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WindowsAnalysis<T>where
T: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more