pub struct AnalyticsPeriod {
pub start: DateTime<Utc>,
pub end: DateTime<Utc>,
pub period_type: PeriodType,
}Expand description
Time period for analytics aggregation
Fields§
§start: DateTime<Utc>Period start time
end: DateTime<Utc>Period end time
period_type: PeriodTypePeriod type (for display)
Implementations§
Trait Implementations§
Source§impl Clone for AnalyticsPeriod
impl Clone for AnalyticsPeriod
Source§fn clone(&self) -> AnalyticsPeriod
fn clone(&self) -> AnalyticsPeriod
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 AnalyticsPeriod
impl Debug for AnalyticsPeriod
Source§impl<'de> Deserialize<'de> for AnalyticsPeriod
impl<'de> Deserialize<'de> for AnalyticsPeriod
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 AnalyticsPeriod
impl RefUnwindSafe for AnalyticsPeriod
impl Send for AnalyticsPeriod
impl Sync for AnalyticsPeriod
impl Unpin for AnalyticsPeriod
impl UnwindSafe for AnalyticsPeriod
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