pub struct CompositeProfileOutput {
pub poc: f64,
pub vah: f64,
pub val: f64,
}Expand description
Output of CompositeProfile: the point of control and the value-area bounds.
Fields§
§poc: f64Point of Control — the price (bin centre) with the most volume.
vah: f64Value-Area High — top of the band holding value_area_pct of volume.
val: f64Value-Area Low — bottom of that band.
Trait Implementations§
Source§impl Clone for CompositeProfileOutput
impl Clone for CompositeProfileOutput
Source§fn clone(&self) -> CompositeProfileOutput
fn clone(&self) -> CompositeProfileOutput
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 CompositeProfileOutput
Source§impl Debug for CompositeProfileOutput
impl Debug for CompositeProfileOutput
Source§impl PartialEq for CompositeProfileOutput
impl PartialEq for CompositeProfileOutput
Source§fn eq(&self, other: &CompositeProfileOutput) -> bool
fn eq(&self, other: &CompositeProfileOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompositeProfileOutput
Auto Trait Implementations§
impl Freeze for CompositeProfileOutput
impl RefUnwindSafe for CompositeProfileOutput
impl Send for CompositeProfileOutput
impl Sync for CompositeProfileOutput
impl Unpin for CompositeProfileOutput
impl UnsafeUnpin for CompositeProfileOutput
impl UnwindSafe for CompositeProfileOutput
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