[−][src]Struct sudoku_backend::ops::setup::LeaderboardConfig
Configuration of a leaderboard request.
Refer to doc/check.rs for more details.
Fields
count: usize
How many entries to return
ordering: SolutionOrdering
How to order the returned entries
Methods
impl LeaderboardConfig[src]
impl LeaderboardConfigpub const BOARD_DEFAULT_DEFAULT: LeaderboardConfig[src]
Default no-spec return config for solutions.
pub const BOARD_DEFAULT_MAX: LeaderboardConfig[src]
Default maximal unexceedable return config for solutions.
pub const PLAYER_DEFAULT_DEFAULT: LeaderboardConfig[src]
Default no-spec return config for players.
pub const PLAYER_DEFAULT_MAX: LeaderboardConfig[src]
Default maximal unexceedable return config for players.
Trait Implementations
impl PartialEq<LeaderboardConfig> for LeaderboardConfig[src]
impl PartialEq<LeaderboardConfig> for LeaderboardConfigfn eq(&self, other: &LeaderboardConfig) -> bool[src]
fn eq(&self, other: &LeaderboardConfig) -> boolfn ne(&self, other: &LeaderboardConfig) -> bool[src]
fn ne(&self, other: &LeaderboardConfig) -> boolimpl Clone for LeaderboardConfig[src]
impl Clone for LeaderboardConfigfn clone(&self) -> LeaderboardConfig[src]
fn clone(&self) -> LeaderboardConfigfn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for LeaderboardConfig[src]
impl Copy for LeaderboardConfigimpl Ord for LeaderboardConfig[src]
impl Ord for LeaderboardConfigfn cmp(&self, other: &LeaderboardConfig) -> Ordering[src]
fn cmp(&self, other: &LeaderboardConfig) -> Orderingfn max(self, other: Self) -> Self1.21.0[src]
fn max(self, other: Self) -> SelfCompares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
fn min(self, other: Self) -> SelfCompares and returns the minimum of two values. Read more
impl Eq for LeaderboardConfig[src]
impl Eq for LeaderboardConfigimpl PartialOrd<LeaderboardConfig> for LeaderboardConfig[src]
impl PartialOrd<LeaderboardConfig> for LeaderboardConfigfn partial_cmp(&self, other: &LeaderboardConfig) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &LeaderboardConfig) -> Option<Ordering>#[must_use]
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Debug for LeaderboardConfig[src]
impl Debug for LeaderboardConfigimpl Hash for LeaderboardConfig[src]
impl Hash for LeaderboardConfigfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl Serialize for LeaderboardConfig[src]
impl Serialize for LeaderboardConfigfn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, impl<'de> Deserialize<'de> for LeaderboardConfig[src]
impl<'de> Deserialize<'de> for LeaderboardConfigfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Auto Trait Implementations
impl Send for LeaderboardConfig
impl Send for LeaderboardConfigimpl Sync for LeaderboardConfig
impl Sync for LeaderboardConfigBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut Timpl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, impl<T> Typeable for T where
T: Any, [src]
impl<T> Typeable for T where
T: Any, impl<T> IntoSql for T[src]
impl<T> IntoSql for Tfn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>, [src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>, Convert self to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, [src]
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>, Convert &self to an expression for Diesel's query builder. Read more