pub enum PredefinedPeriod {
OneHour,
FourHour,
OneDay,
SevenDay,
ThirtyDay,
NinetyDay,
OneYear,
FiveYear,
Since2004,
}Expand description
Google Trend predefined periods
Variants§
OneHour
One hour
FourHour
Four hours
OneDay
One day
SevenDay
Seven days
ThirtyDay
Thirty days
NinetyDay
Ninety days
OneYear
One year
FiveYear
Five years
Since2004
Since 2004
Trait Implementations§
Source§impl Clone for PredefinedPeriod
impl Clone for PredefinedPeriod
Source§fn clone(&self) -> PredefinedPeriod
fn clone(&self) -> PredefinedPeriod
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 PredefinedPeriod
impl Debug for PredefinedPeriod
Source§impl Hash for PredefinedPeriod
impl Hash for PredefinedPeriod
Source§impl PartialEq for PredefinedPeriod
impl PartialEq for PredefinedPeriod
Source§impl Serialize for PredefinedPeriod
impl Serialize for PredefinedPeriod
impl Copy for PredefinedPeriod
impl Eq for PredefinedPeriod
impl StructuralPartialEq for PredefinedPeriod
Auto Trait Implementations§
impl Freeze for PredefinedPeriod
impl RefUnwindSafe for PredefinedPeriod
impl Send for PredefinedPeriod
impl Sync for PredefinedPeriod
impl Unpin for PredefinedPeriod
impl UnwindSafe for PredefinedPeriod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.