pub struct SevenDayWindow {
pub window_start: DateTime<Utc>,
pub token_counts: TokenCounts,
}Expand description
Rolling 7-day window. window_start is now - 7d at the time
the aggregator ran.
Fields§
§window_start: DateTime<Utc>§token_counts: TokenCountsTrait Implementations§
Source§impl Clone for SevenDayWindow
impl Clone for SevenDayWindow
Source§fn clone(&self) -> SevenDayWindow
fn clone(&self) -> SevenDayWindow
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 moreAuto Trait Implementations§
impl Freeze for SevenDayWindow
impl RefUnwindSafe for SevenDayWindow
impl Send for SevenDayWindow
impl Sync for SevenDayWindow
impl Unpin for SevenDayWindow
impl UnsafeUnpin for SevenDayWindow
impl UnwindSafe for SevenDayWindow
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