pub struct PlayerEvent {
pub definition_id: Option<String>,
pub formatted_num_events: Option<String>,
pub kind: Option<String>,
pub num_events: Option<i64>,
pub player_id: Option<String>,
}Expand description
An event status resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§definition_id: Option<String>The ID of the event definition.
formatted_num_events: Option<String>The current number of times this event has occurred, as a string. The formatting of this string depends on the configuration of your event in the Play Games Developer Console.
kind: Option<String>Uniquely identifies the type of this resource. Value is always the fixed string games#playerEvent.
num_events: Option<i64>The current number of times this event has occurred.
player_id: Option<String>The ID of the player.
Trait Implementations§
Source§impl Clone for PlayerEvent
impl Clone for PlayerEvent
Source§fn clone(&self) -> PlayerEvent
fn clone(&self) -> PlayerEvent
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 Debug for PlayerEvent
impl Debug for PlayerEvent
Source§impl Default for PlayerEvent
impl Default for PlayerEvent
Source§fn default() -> PlayerEvent
fn default() -> PlayerEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlayerEvent
impl<'de> Deserialize<'de> for PlayerEvent
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 Serialize for PlayerEvent
impl Serialize for PlayerEvent
impl Part for PlayerEvent
Auto Trait Implementations§
impl Freeze for PlayerEvent
impl RefUnwindSafe for PlayerEvent
impl Send for PlayerEvent
impl Sync for PlayerEvent
impl Unpin for PlayerEvent
impl UnwindSafe for PlayerEvent
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