pub struct MetricsTree_Market_Ath {
pub price_ath: DollarsSatsPattern,
pub price_drawdown: MetricPattern3<StoredF32>,
pub days_since_price_ath: MetricPattern4<StoredU16>,
pub years_since_price_ath: MetricPattern4<StoredF32>,
pub max_days_between_price_aths: MetricPattern4<StoredU16>,
pub max_years_between_price_aths: MetricPattern4<StoredF32>,
}Expand description
Metrics tree node.
Fields§
§price_ath: DollarsSatsPattern§price_drawdown: MetricPattern3<StoredF32>§days_since_price_ath: MetricPattern4<StoredU16>§years_since_price_ath: MetricPattern4<StoredF32>§max_days_between_price_aths: MetricPattern4<StoredU16>§max_years_between_price_aths: MetricPattern4<StoredF32>Implementations§
Source§impl MetricsTree_Market_Ath
impl MetricsTree_Market_Ath
pub fn new(client: Arc<BrkClientBase>, base_path: String) -> Self
Auto Trait Implementations§
impl Freeze for MetricsTree_Market_Ath
impl RefUnwindSafe for MetricsTree_Market_Ath
impl Send for MetricsTree_Market_Ath
impl Sync for MetricsTree_Market_Ath
impl Unpin for MetricsTree_Market_Ath
impl UnwindSafe for MetricsTree_Market_Ath
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> 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