pub enum ToplistRange {
OneDay,
ThreeDays,
OneWeek,
OneMonth,
ThreeMonths,
SixMonths,
OneYear,
}Expand description
The time span for the toplist.
For example, ToplistRange::OneDay will show the top wallpapers in the last 24h.
This cannot be customized further as only values allowed by wallhaven can be used
Variants§
OneDay
A time span of one day
ThreeDays
A time span of three days
OneWeek
A time span of one week
OneMonth
A time span of one month
ThreeMonths
A time span of three months
SixMonths
A time span of six months
OneYear
A time span of one year
Trait Implementations§
Source§impl Clone for ToplistRange
impl Clone for ToplistRange
Source§fn clone(&self) -> ToplistRange
fn clone(&self) -> ToplistRange
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 ToplistRange
impl Debug for ToplistRange
Source§impl<'de> Deserialize<'de> for ToplistRange
impl<'de> Deserialize<'de> for ToplistRange
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
Source§impl Serialize for ToplistRange
impl Serialize for ToplistRange
impl Copy for ToplistRange
Auto Trait Implementations§
impl Freeze for ToplistRange
impl RefUnwindSafe for ToplistRange
impl Send for ToplistRange
impl Sync for ToplistRange
impl Unpin for ToplistRange
impl UnwindSafe for ToplistRange
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