Enum speedrun_api::api::leaderboards::LeaderboardEmbeds
source · [−]pub enum LeaderboardEmbeds {
Game,
Category,
Level,
Players,
Regions,
Platforms,
Variables,
}Expand description
Embeds available for leaderboards.
NOTE: Embeds can be nested. That is not handled by this API.
Variants
Game
Embed the full game resource.
Category
Embed the category used for the leaderboard.
Level
Embed the level used for the leaderboard.
Players
Adds a new players element to the leaderboard, containing a flat list
of all players of all runs on the leaderboard.
Regions
Adds all used regions.
Platforms
Adds all used platforms.
Variables
Adds all applicable variables for the chosen level/categories
Trait Implementations
sourceimpl Clone for LeaderboardEmbeds
impl Clone for LeaderboardEmbeds
sourcefn clone(&self) -> LeaderboardEmbeds
fn clone(&self) -> LeaderboardEmbeds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LeaderboardEmbeds
impl Debug for LeaderboardEmbeds
sourceimpl From<&LeaderboardEmbeds> for &'static str
impl From<&LeaderboardEmbeds> for &'static str
sourcefn from(value: &LeaderboardEmbeds) -> Self
fn from(value: &LeaderboardEmbeds) -> Self
Converts to this type from the input type.
sourceimpl Ord for LeaderboardEmbeds
impl Ord for LeaderboardEmbeds
sourceimpl PartialOrd<LeaderboardEmbeds> for LeaderboardEmbeds
impl PartialOrd<LeaderboardEmbeds> for LeaderboardEmbeds
sourcefn partial_cmp(&self, other: &LeaderboardEmbeds) -> Option<Ordering>
fn partial_cmp(&self, other: &LeaderboardEmbeds) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Eq for LeaderboardEmbeds
impl StructuralEq for LeaderboardEmbeds
impl StructuralPartialEq for LeaderboardEmbeds
Auto Trait Implementations
impl RefUnwindSafe for LeaderboardEmbeds
impl Send for LeaderboardEmbeds
impl Sync for LeaderboardEmbeds
impl Unpin for LeaderboardEmbeds
impl UnwindSafe for LeaderboardEmbeds
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more