pub enum RangeQueryTs {
Exact(Timestamp),
Bounds(RangeBoundsTs),
}
Expand description
A set of generic request parameters that can be used on list endpoints to filter their results by some timestamp.
Variants§
Exact(Timestamp)
Results matching a specific UNIX timestamp
Bounds(RangeBoundsTs)
Results falling with a date interval
Implementations§
Source§impl RangeQueryTs
impl RangeQueryTs
Trait Implementations§
Source§impl Clone for RangeQueryTs
impl Clone for RangeQueryTs
Source§fn clone(&self) -> RangeQueryTs
fn clone(&self) -> RangeQueryTs
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 RangeQueryTs
impl Debug for RangeQueryTs
Source§impl Serialize for RangeQueryTs
impl Serialize for RangeQueryTs
impl Copy for RangeQueryTs
Auto Trait Implementations§
impl Freeze for RangeQueryTs
impl RefUnwindSafe for RangeQueryTs
impl Send for RangeQueryTs
impl Sync for RangeQueryTs
impl Unpin for RangeQueryTs
impl UnwindSafe for RangeQueryTs
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