pub struct BollingerBarOutput {
pub middle: f64,
pub upper: f64,
pub lower: f64,
pub pct_b: Option<f64>,
}Expand description
One-bar Bollinger output.
Fields§
§middle: f64§upper: f64§lower: f64§pct_b: Option<f64>Trait Implementations§
Source§impl Clone for BollingerBarOutput
impl Clone for BollingerBarOutput
Source§fn clone(&self) -> BollingerBarOutput
fn clone(&self) -> BollingerBarOutput
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 BollingerBarOutput
Source§impl Debug for BollingerBarOutput
impl Debug for BollingerBarOutput
Source§impl PartialEq for BollingerBarOutput
impl PartialEq for BollingerBarOutput
impl StructuralPartialEq for BollingerBarOutput
Auto Trait Implementations§
impl Freeze for BollingerBarOutput
impl RefUnwindSafe for BollingerBarOutput
impl Send for BollingerBarOutput
impl Sync for BollingerBarOutput
impl Unpin for BollingerBarOutput
impl UnsafeUnpin for BollingerBarOutput
impl UnwindSafe for BollingerBarOutput
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