[−][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 ResponseResult for RoomStatus
[src]
impl Default for RoomStatus
[src]
fn default() -> RoomStatus
[src]
impl Clone for RoomStatus
[src]
fn clone(&self) -> RoomStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RoomStatus
[src]
impl Serialize for RoomStatus
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for RoomStatus
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for RoomStatus
impl Unpin for RoomStatus
impl Sync for RoomStatus
impl UnwindSafe for RoomStatus
impl RefUnwindSafe for RoomStatus
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>,