[−][src]Struct google_games1::TurnBasedMatchParticipant
This is a JSON template for a participant in a turn-based match.
This type is not used in any activity, and only used as part of another schema.
Fields
auto_matched: Option<bool>
True if this participant was auto-matched with the requesting player.
status: Option<String>
The status of the participant with respect to the match. Possible values are:
- "PARTICIPANT_NOT_INVITED_YET" - The participant is slated to be invited to the match, but the invitation has not been sent; the invite will be sent when it becomes their turn.
- "PARTICIPANT_INVITED" - The participant has been invited to join the match, but has not yet responded.
- "PARTICIPANT_JOINED" - The participant has joined the match (either after creating it or accepting an invitation.)
- "PARTICIPANT_DECLINED" - The participant declined an invitation to join the match.
- "PARTICIPANT_LEFT" - The participant joined the match and then left it.
- "PARTICIPANT_FINISHED" - The participant finished playing in the match.
- "PARTICIPANT_UNRESPONSIVE" - The participant did not take their turn in the allotted time.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#turnBasedMatchParticipant.
auto_matched_player: Option<AnonymousPlayer>
Information about a player that has been anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
player: Option<Player>
Information about the player. Not populated if this player was anonymously auto-matched against the requesting player. (Either player or autoMatchedPlayer will be set.)
id: Option<String>
An identifier for the participant in the scope of the match. Cannot be used to identify a player across matches or in other contexts.
Trait Implementations
impl Part for TurnBasedMatchParticipant
[src]
impl Default for TurnBasedMatchParticipant
[src]
impl Clone for TurnBasedMatchParticipant
[src]
fn clone(&self) -> TurnBasedMatchParticipant
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for TurnBasedMatchParticipant
[src]
impl Serialize for TurnBasedMatchParticipant
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for TurnBasedMatchParticipant
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for TurnBasedMatchParticipant
impl Unpin for TurnBasedMatchParticipant
impl Sync for TurnBasedMatchParticipant
impl UnwindSafe for TurnBasedMatchParticipant
impl RefUnwindSafe for TurnBasedMatchParticipant
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,