pub enum QueryRange {
Before(i64),
After(i64),
}Expand description
A time range for querying recently played tracks.
Variants§
Trait Implementations§
Source§impl Clone for QueryRange
impl Clone for QueryRange
Source§fn clone(&self) -> QueryRange
fn clone(&self) -> QueryRange
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 QueryRange
impl Debug for QueryRange
Source§impl From<QueryRange> for GetRecentlyPlayedTracks
impl From<QueryRange> for GetRecentlyPlayedTracks
Source§fn from(timeframe: QueryRange) -> Self
fn from(timeframe: QueryRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QueryRange
impl PartialEq for QueryRange
impl Eq for QueryRange
impl StructuralPartialEq for QueryRange
Auto Trait Implementations§
impl Freeze for QueryRange
impl RefUnwindSafe for QueryRange
impl Send for QueryRange
impl Sync for QueryRange
impl Unpin for QueryRange
impl UnwindSafe for QueryRange
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