Enum mungos::options::TimeseriesGranularity
source · [−]#[non_exhaustive]
pub enum TimeseriesGranularity {
Seconds,
Minutes,
Hours,
}
Expand description
The units you’d use to describe the expected interval between subsequent measurements for a time-series.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Seconds
The expected interval between subsequent measurements is in seconds.
Minutes
The expected interval between subsequent measurements is in minutes.
Hours
The expected interval between subsequent measurements is in hours.
Trait Implementations
sourceimpl Clone for TimeseriesGranularity
impl Clone for TimeseriesGranularity
sourcefn clone(&self) -> TimeseriesGranularity
fn clone(&self) -> TimeseriesGranularity
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TimeseriesGranularity
impl Debug for TimeseriesGranularity
sourceimpl<'de> Deserialize<'de> for TimeseriesGranularity
impl<'de> Deserialize<'de> for TimeseriesGranularity
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<TimeseriesGranularity, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TimeseriesGranularity, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TimeseriesGranularity
impl Serialize for TimeseriesGranularity
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TimeseriesGranularity
Auto Trait Implementations
impl RefUnwindSafe for TimeseriesGranularity
impl Send for TimeseriesGranularity
impl Sync for TimeseriesGranularity
impl Unpin for TimeseriesGranularity
impl UnwindSafe for TimeseriesGranularity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more