pub struct Leaderboard<'a> {
pub weblink: String,
pub game: GameId<'a>,
pub category: CategoryId<'a>,
pub level: Option<LevelId<'a>>,
pub platform: Option<PlatformId<'a>>,
pub region: Option<RegionId<'a>>,
pub emulators: Option<bool>,
pub video_only: bool,
pub timing: Option<TimingMethod>,
pub values: HashMap<VariableId<'a>, String>,
pub runs: Vec<RankedRun<'a>>,
pub links: Vec<Link>,
}Fields§
§weblink: String§game: GameId<'a>§category: CategoryId<'a>§level: Option<LevelId<'a>>§platform: Option<PlatformId<'a>>§region: Option<RegionId<'a>>§emulators: Option<bool>§video_only: bool§timing: Option<TimingMethod>§values: HashMap<VariableId<'a>, String>§runs: Vec<RankedRun<'a>>§links: Vec<Link>Trait Implementations§
Source§impl<'a> Clone for Leaderboard<'a>
impl<'a> Clone for Leaderboard<'a>
Source§fn clone(&self) -> Leaderboard<'a>
fn clone(&self) -> Leaderboard<'a>
Returns a duplicate 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<'a> Debug for Leaderboard<'a>
impl<'a> Debug for Leaderboard<'a>
Source§impl<'de, 'a> Deserialize<'de> for Leaderboard<'a>
impl<'de, 'a> Deserialize<'de> for Leaderboard<'a>
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<'a> From<Leaderboard<'a>> for CategoryId<'a>
impl<'a> From<Leaderboard<'a>> for CategoryId<'a>
Source§fn from(value: Leaderboard<'a>) -> Self
fn from(value: Leaderboard<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Leaderboard<'a>> for GameId<'a>
impl<'a> From<Leaderboard<'a>> for GameId<'a>
Source§fn from(value: Leaderboard<'a>) -> Self
fn from(value: Leaderboard<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for Leaderboard<'a>
impl<'a> PartialEq for Leaderboard<'a>
impl<'a> StructuralPartialEq for Leaderboard<'a>
Auto Trait Implementations§
impl<'a> Freeze for Leaderboard<'a>
impl<'a> RefUnwindSafe for Leaderboard<'a>
impl<'a> Send for Leaderboard<'a>
impl<'a> Sync for Leaderboard<'a>
impl<'a> Unpin for Leaderboard<'a>
impl<'a> UnwindSafe for Leaderboard<'a>
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