[−][src]Struct google_games1::RoomStatus
This is a JSON template for the status of a room that the player has joined.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- report status rooms (response)
Fields
status: Option<String>
The status of the room. Possible values are:
- "ROOM_INVITING" - One or more players have been invited and not responded.
- "ROOM_AUTO_MATCHING" - One or more slots need to be filled by auto-matching.
- "ROOM_CONNECTING" - Players have joined are connecting to each other (either before or after auto-matching).
- "ROOM_ACTIVE" - All players have joined and connected to each other.
- "ROOM_DELETED" - All joined players have left.
kind: Option<String>
Uniquely identifies the type of this resource. Value is always the fixed string games#roomStatus.
status_version: Option<i32>
The version of the status for the room: an increasing counter, used by the client to ignore out-of-order updates to room status.
room_id: Option<String>
Globally unique ID for a room.
auto_matching_status: Option<RoomAutoMatchStatus>
Auto-matching status for this room. Not set if the room is not currently in the automatching queue.
participants: Option<Vec<RoomParticipant>>
The participants involved in the room, along with their statuses. Includes participants who have left or declined invitations.
Trait Implementations
impl Clone for RoomStatus
[src]
fn clone(&self) -> RoomStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RoomStatus
[src]
impl Default for RoomStatus
[src]
fn default() -> RoomStatus
[src]
impl<'de> Deserialize<'de> for RoomStatus
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ResponseResult for RoomStatus
[src]
impl Serialize for RoomStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for RoomStatus
impl Send for RoomStatus
impl Sync for RoomStatus
impl Unpin for RoomStatus
impl UnwindSafe for RoomStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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> Typeable for T where
T: Any,
T: Any,