#[repr(C)]pub struct ArchivedTimeSeriesMetricswhere
Uuid: Archive,
u16: Archive,
TimeGranularity: Archive,
[u8; 3]: Archive,
f64: Archive,
HybridTimestamp: Archive,
TimeSeriesFlags: Archive,{Show 17 fields
pub id: Archived<Uuid>,
pub account_id: Archived<u16>,
pub period_count: Archived<u16>,
pub granularity: Archived<TimeGranularity>,
pub _pad: Archived<[u8; 3]>,
pub trend_coefficient: Archived<f64>,
pub trend_intercept: Archived<f64>,
pub trend_r_squared: Archived<f64>,
pub volatility: Archived<f64>,
pub coefficient_of_variation: Archived<f64>,
pub sma: Archived<f64>,
pub ema: Archived<f64>,
pub current_value: Archived<f64>,
pub forecasted_value: Archived<f64>,
pub forecast_ci: Archived<f64>,
pub period_start: Archived<HybridTimestamp>,
pub flags: Archived<TimeSeriesFlags>,
}Expand description
An archived TimeSeriesMetrics
Fields§
§id: Archived<Uuid>The archived counterpart of TimeSeriesMetrics::id
account_id: Archived<u16>The archived counterpart of TimeSeriesMetrics::account_id
period_count: Archived<u16>The archived counterpart of TimeSeriesMetrics::period_count
granularity: Archived<TimeGranularity>The archived counterpart of TimeSeriesMetrics::granularity
_pad: Archived<[u8; 3]>The archived counterpart of TimeSeriesMetrics::_pad
trend_coefficient: Archived<f64>The archived counterpart of TimeSeriesMetrics::trend_coefficient
trend_intercept: Archived<f64>The archived counterpart of TimeSeriesMetrics::trend_intercept
trend_r_squared: Archived<f64>The archived counterpart of TimeSeriesMetrics::trend_r_squared
volatility: Archived<f64>The archived counterpart of TimeSeriesMetrics::volatility
coefficient_of_variation: Archived<f64>The archived counterpart of TimeSeriesMetrics::coefficient_of_variation
sma: Archived<f64>The archived counterpart of TimeSeriesMetrics::sma
ema: Archived<f64>The archived counterpart of TimeSeriesMetrics::ema
current_value: Archived<f64>The archived counterpart of TimeSeriesMetrics::current_value
forecasted_value: Archived<f64>The archived counterpart of TimeSeriesMetrics::forecasted_value
forecast_ci: Archived<f64>The archived counterpart of TimeSeriesMetrics::forecast_ci
period_start: Archived<HybridTimestamp>The archived counterpart of TimeSeriesMetrics::period_start
flags: Archived<TimeSeriesFlags>The archived counterpart of TimeSeriesMetrics::flags
Auto Trait Implementations§
impl Freeze for ArchivedTimeSeriesMetrics
impl RefUnwindSafe for ArchivedTimeSeriesMetrics
impl Send for ArchivedTimeSeriesMetrics
impl Sync for ArchivedTimeSeriesMetrics
impl Unpin for ArchivedTimeSeriesMetrics
impl UnwindSafe for ArchivedTimeSeriesMetrics
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.