[][src]Enum sudoku_backend::ops::LeaderboardOf

pub enum LeaderboardOf {
    Solutions,
    Users,
}

Which leaderboard to acquire.

Refer to doc/check.rs for more details.

The string reprs are snake_case.

Variants

Methods

impl LeaderboardOf
[src]

The default leaderboard target.

Trait Implementations

impl PartialEq<LeaderboardOf> for LeaderboardOf
[src]

This method tests for !=.

impl Clone for LeaderboardOf
[src]

Performs copy-assignment from source. Read more

impl Copy for LeaderboardOf
[src]

impl Ord for LeaderboardOf
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Eq for LeaderboardOf
[src]

impl PartialOrd<LeaderboardOf> for LeaderboardOf
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for LeaderboardOf
[src]

impl Hash for LeaderboardOf
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Serialize for LeaderboardOf
[src]

impl<'de> Deserialize<'de> for LeaderboardOf
[src]

impl<'v> FromFormValue<'v> for LeaderboardOf
[src]

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

Returns a default value to be used when the form field does not exist. If this returns None, then the field is required. Otherwise, this should return Some(default_value). The default implementation simply returns None. Read more

Auto Trait Implementations

impl Send for LeaderboardOf

impl Sync for LeaderboardOf

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more