pub struct SevenDayWindow { /* private fields */ }Expand description
Rolling 7-day window under JSONL fallback. No resets_at: this is
a rolling window, not a hard-reset bucket, so the rate_limit_7d_reset
segment hides entirely under JSONL per
docs/specs/rate-limit-segments.md §JSONL-fallback display.
Trait 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 (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 SevenDayWindow
impl Debug for SevenDayWindow
Source§impl PartialEq for SevenDayWindow
impl PartialEq for SevenDayWindow
Source§fn eq(&self, other: &SevenDayWindow) -> bool
fn eq(&self, other: &SevenDayWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SevenDayWindow
Auto 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