#[repr(C)]pub struct _tagEOS_Achievements_StatThresholds {
pub ApiVersion: i32,
pub Name: *const c_char,
pub Threshold: i32,
}Expand description
Contains information about a collection of stat threshold data.
The threshold will depend on the stat aggregate type: LATEST (Tracks the latest value) MAX (Tracks the maximum value) MIN (Tracks the minimum value) SUM (Generates a rolling sum of the value)
@see EOS_Achievements_Definition
Fields§
§ApiVersion: i32API Version: Set this to EOS_ACHIEVEMENTS_STATTHRESHOLDS_API_LATEST.
Name: *const c_charThe name of the stat.
Threshold: i32The value that the stat must surpass to satisfy the requirement for unlocking an achievement.
Trait Implementations§
Source§impl Clone for _tagEOS_Achievements_StatThresholds
impl Clone for _tagEOS_Achievements_StatThresholds
Source§fn clone(&self) -> _tagEOS_Achievements_StatThresholds
fn clone(&self) -> _tagEOS_Achievements_StatThresholds
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 moreimpl Copy for _tagEOS_Achievements_StatThresholds
Auto Trait Implementations§
impl Freeze for _tagEOS_Achievements_StatThresholds
impl RefUnwindSafe for _tagEOS_Achievements_StatThresholds
impl !Send for _tagEOS_Achievements_StatThresholds
impl !Sync for _tagEOS_Achievements_StatThresholds
impl Unpin for _tagEOS_Achievements_StatThresholds
impl UnsafeUnpin for _tagEOS_Achievements_StatThresholds
impl UnwindSafe for _tagEOS_Achievements_StatThresholds
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