Enum rraw::utils::options::TimePeriod
source · pub enum TimePeriod {
Now,
Today,
Week,
Month,
Year,
AllTime,
}
Expand description
Time Period for the request
Variants§
Implementations§
source§impl TimePeriod
impl TimePeriod
sourcepub fn get_string(&self) -> &str
pub fn get_string(&self) -> &str
Gets the string for Reddit
Trait Implementations§
source§impl Clone for TimePeriod
impl Clone for TimePeriod
source§fn clone(&self) -> TimePeriod
fn clone(&self) -> TimePeriod
Returns a copy 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 TimePeriod
impl Debug for TimePeriod
source§impl Display for TimePeriod
impl Display for TimePeriod
source§impl Serialize for TimePeriod
impl Serialize for TimePeriod
impl Copy for TimePeriod
Auto Trait Implementations§
impl RefUnwindSafe for TimePeriod
impl Send for TimePeriod
impl Sync for TimePeriod
impl Unpin for TimePeriod
impl UnwindSafe for TimePeriod
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