#[repr(C)]pub struct CvdEnhancementSnapshot {
pub delta_ratio: f64,
pub delta_zscore: f64,
pub divergence_detected: bool,
}Expand description
Snapshot of CVD enhancement metrics.
Fields§
§delta_ratio: f64Delta ratio: delta / volume in [-1, +1].
delta_zscore: f64Z-score of delta.
divergence_detected: boolDelta divergence detected (price high vs CVD low, etc.).
Trait Implementations§
Source§impl Clone for CvdEnhancementSnapshot
impl Clone for CvdEnhancementSnapshot
Source§fn clone(&self) -> CvdEnhancementSnapshot
fn clone(&self) -> CvdEnhancementSnapshot
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 CvdEnhancementSnapshot
Source§impl Debug for CvdEnhancementSnapshot
impl Debug for CvdEnhancementSnapshot
Source§impl Default for CvdEnhancementSnapshot
impl Default for CvdEnhancementSnapshot
Source§impl PartialEq for CvdEnhancementSnapshot
impl PartialEq for CvdEnhancementSnapshot
Source§fn eq(&self, other: &CvdEnhancementSnapshot) -> bool
fn eq(&self, other: &CvdEnhancementSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CvdEnhancementSnapshot
Auto Trait Implementations§
impl Freeze for CvdEnhancementSnapshot
impl RefUnwindSafe for CvdEnhancementSnapshot
impl Send for CvdEnhancementSnapshot
impl Sync for CvdEnhancementSnapshot
impl Unpin for CvdEnhancementSnapshot
impl UnsafeUnpin for CvdEnhancementSnapshot
impl UnwindSafe for CvdEnhancementSnapshot
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