Struct arnak::GameTypeRank
source · pub struct GameTypeRank {
pub game_type: String,
pub id: u64,
pub name: String,
pub friendly_name: String,
pub value: RankValue,
pub bayesian_average: f64,
}Expand description
A struct containing the game’s rank within a particular type of game.
Fields§
§game_type: String§id: u64ID game type.
name: StringName of the game type. “boardgame” used as the generic subtype that includes all baord games.
friendly_name: StringUser friendly name in the foramt “GENRE game rank” e.g. “Party Game Rank”
value: RankValueThe overall rank on the site within this type of game.
bayesian_average: f64Trait Implementations§
source§impl Clone for GameTypeRank
impl Clone for GameTypeRank
source§fn clone(&self) -> GameTypeRank
fn clone(&self) -> GameTypeRank
Returns a copy 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 GameTypeRank
impl Debug for GameTypeRank
source§impl<'de> Deserialize<'de> for GameTypeRank
impl<'de> Deserialize<'de> for GameTypeRank
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 PartialEq for GameTypeRank
impl PartialEq for GameTypeRank
impl StructuralPartialEq for GameTypeRank
Auto Trait Implementations§
impl Freeze for GameTypeRank
impl RefUnwindSafe for GameTypeRank
impl Send for GameTypeRank
impl Sync for GameTypeRank
impl Unpin for GameTypeRank
impl UnwindSafe for GameTypeRank
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)