#[repr(C)]pub struct VpinSnapshot {
pub vpin: f64,
pub vpin_zscore: f64,
pub vpin_mean: f64,
pub vpin_std: f64,
pub is_toxic: bool,
pub bucket_count: u64,
}Expand description
A single VPIN snapshot.
Fields§
§vpin: f64Current VPIN value (0..1).
vpin_zscore: f64VPIN z-score relative to rolling mean/std.
vpin_mean: f64Rolling mean VPIN.
vpin_std: f64Rolling std VPIN.
is_toxic: boolWhether VPIN exceeds the toxicity threshold.
bucket_count: u64Number of complete buckets processed.
Trait Implementations§
Source§impl Clone for VpinSnapshot
impl Clone for VpinSnapshot
Source§fn clone(&self) -> VpinSnapshot
fn clone(&self) -> VpinSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VpinSnapshot
Source§impl Debug for VpinSnapshot
impl Debug for VpinSnapshot
Source§impl Default for VpinSnapshot
impl Default for VpinSnapshot
Source§impl PartialEq for VpinSnapshot
impl PartialEq for VpinSnapshot
Source§fn eq(&self, other: &VpinSnapshot) -> bool
fn eq(&self, other: &VpinSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VpinSnapshot
Auto Trait Implementations§
impl Freeze for VpinSnapshot
impl RefUnwindSafe for VpinSnapshot
impl Send for VpinSnapshot
impl Sync for VpinSnapshot
impl Unpin for VpinSnapshot
impl UnsafeUnpin for VpinSnapshot
impl UnwindSafe for VpinSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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