pub struct GameplayEventId { /* private fields */ }Expand description
Identifies one gameplay event delivered by the Telemetry API.
The descriptor only identifies the event. Its typed attributes are declared separately because several events share names such as payment amount, source ID, and target ID.
Implementations§
Source§impl GameplayEventId
impl GameplayEventId
pub const fn new( name: &'static CStr, availability: GameSchemaAvailability, ) -> Self
pub const fn name(self) -> &'static CStr
Sourcepub const fn availability(self) -> GameSchemaAvailability
pub const fn availability(self) -> GameSchemaAvailability
Official per-game schema history for this gameplay event identifier.
Trait Implementations§
Source§impl Clone for GameplayEventId
impl Clone for GameplayEventId
Source§fn clone(&self) -> GameplayEventId
fn clone(&self) -> GameplayEventId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GameplayEventId
Source§impl Debug for GameplayEventId
impl Debug for GameplayEventId
impl Eq for GameplayEventId
Source§impl PartialEq for GameplayEventId
impl PartialEq for GameplayEventId
impl StructuralPartialEq for GameplayEventId
Auto Trait Implementations§
impl Freeze for GameplayEventId
impl RefUnwindSafe for GameplayEventId
impl Send for GameplayEventId
impl Sync for GameplayEventId
impl Unpin for GameplayEventId
impl UnsafeUnpin for GameplayEventId
impl UnwindSafe for GameplayEventId
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