pub struct PriceAnalysis {
pub avg_range: f64,
pub range_volatility: f64,
pub avg_change: f64,
pub price_volatility: f64,
pub bullish_ratio: f64,
pub high_close_ratio: f64,
pub low_close_ratio: f64,
}Expand description
Price movement analysis
Fields§
§avg_range: f64§range_volatility: f64§avg_change: f64§price_volatility: f64§bullish_ratio: f64§high_close_ratio: f64§low_close_ratio: f64Trait Implementations§
Source§impl Clone for PriceAnalysis
impl Clone for PriceAnalysis
Source§fn clone(&self) -> PriceAnalysis
fn clone(&self) -> PriceAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PriceAnalysis
impl Debug for PriceAnalysis
Source§impl Default for PriceAnalysis
impl Default for PriceAnalysis
Source§fn default() -> PriceAnalysis
fn default() -> PriceAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PriceAnalysis
impl<'de> Deserialize<'de> for PriceAnalysis
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PriceAnalysis
impl RefUnwindSafe for PriceAnalysis
impl Send for PriceAnalysis
impl Sync for PriceAnalysis
impl Unpin for PriceAnalysis
impl UnwindSafe for PriceAnalysis
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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