pub enum RankingWindow {
All,
OneDay,
SevenDays,
ThirtyDays,
}Expand description
Ranking window for the rankings host.
Upstream rejects anything else with {"error": "invalid request"}.
Variants§
Trait Implementations§
Source§impl Clone for RankingWindow
impl Clone for RankingWindow
Source§fn clone(&self) -> RankingWindow
fn clone(&self) -> RankingWindow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RankingWindow
Source§impl Debug for RankingWindow
impl Debug for RankingWindow
Source§impl Default for RankingWindow
impl Default for RankingWindow
Source§fn default() -> RankingWindow
fn default() -> RankingWindow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RankingWindow
impl<'de> Deserialize<'de> for RankingWindow
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 Display for RankingWindow
impl Display for RankingWindow
impl Eq for RankingWindow
Source§impl PartialEq for RankingWindow
impl PartialEq for RankingWindow
Source§impl Serialize for RankingWindow
impl Serialize for RankingWindow
impl StructuralPartialEq for RankingWindow
Auto Trait Implementations§
impl Freeze for RankingWindow
impl RefUnwindSafe for RankingWindow
impl Send for RankingWindow
impl Sync for RankingWindow
impl Unpin for RankingWindow
impl UnsafeUnpin for RankingWindow
impl UnwindSafe for RankingWindow
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.