pub struct LeaderboardConfigurationDetail {
pub score_format: Option<GamesNumberFormatConfiguration>,
pub icon_url: Option<String>,
pub kind: Option<String>,
pub name: Option<LocalizedStringBundle>,
pub sort_rank: Option<i32>,
}
Expand description
This is a JSON template for a leaderboard configuration detail.
This type is not used in any activity, and only used as part of another schema.
Fields§
§score_format: Option<GamesNumberFormatConfiguration>
The score formatting for the leaderboard.
icon_url: Option<String>
The icon url of this leaderboard. Writes to this field are ignored.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#leaderboardConfigurationDetail.
name: Option<LocalizedStringBundle>
Localized strings for the leaderboard name.
sort_rank: Option<i32>
The sort rank of this leaderboard. Writes to this field are ignored.
Trait Implementations§
source§impl Clone for LeaderboardConfigurationDetail
impl Clone for LeaderboardConfigurationDetail
source§fn clone(&self) -> LeaderboardConfigurationDetail
fn clone(&self) -> LeaderboardConfigurationDetail
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 Default for LeaderboardConfigurationDetail
impl Default for LeaderboardConfigurationDetail
source§fn default() -> LeaderboardConfigurationDetail
fn default() -> LeaderboardConfigurationDetail
Returns the “default value” for a type. Read more
source§impl Deserialize for LeaderboardConfigurationDetail
impl Deserialize for LeaderboardConfigurationDetail
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
Deserialize this value from the given Serde deserializer. Read more
impl Part for LeaderboardConfigurationDetail
Auto Trait Implementations§
impl Freeze for LeaderboardConfigurationDetail
impl RefUnwindSafe for LeaderboardConfigurationDetail
impl Send for LeaderboardConfigurationDetail
impl Sync for LeaderboardConfigurationDetail
impl Unpin for LeaderboardConfigurationDetail
impl UnwindSafe for LeaderboardConfigurationDetail
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more