pub enum SplitDuration {
Day,
Week,
Month,
Year,
}Expand description
How to group records according to their index timestamp.
Variants§
Trait Implementations§
Source§impl Clone for SplitDuration
impl Clone for SplitDuration
Source§fn clone(&self) -> SplitDuration
fn clone(&self) -> SplitDuration
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 moreSource§impl Debug for SplitDuration
impl Debug for SplitDuration
Source§impl Hash for SplitDuration
impl Hash for SplitDuration
Source§impl Ord for SplitDuration
impl Ord for SplitDuration
Source§fn cmp(&self, other: &SplitDuration) -> Ordering
fn cmp(&self, other: &SplitDuration) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SplitDuration
impl PartialEq for SplitDuration
Source§fn eq(&self, other: &SplitDuration) -> bool
fn eq(&self, other: &SplitDuration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SplitDuration
impl PartialOrd for SplitDuration
impl Copy for SplitDuration
impl Eq for SplitDuration
impl StructuralPartialEq for SplitDuration
Auto Trait Implementations§
impl Freeze for SplitDuration
impl RefUnwindSafe for SplitDuration
impl Send for SplitDuration
impl Sync for SplitDuration
impl Unpin for SplitDuration
impl UnsafeUnpin for SplitDuration
impl UnwindSafe for SplitDuration
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