pub struct MatchmakingQueueUpdateEvent {
pub command_id: Value,
pub data: MatchmakingQueueUpdateEventData,
pub message_id: String,
pub type_: Value,
}Expand description
MatchmakingQueueUpdateEvent
JSON schema
{
"title": "MatchmakingQueueUpdateEvent",
"type": "object",
"required": [
"commandId",
"data",
"messageId",
"type"
],
"properties": {
"commandId": {
"const": "matchmaking/queueUpdate"
},
"data": {
"title": "MatchmakingQueueUpdateEventData",
"type": "object",
"required": [
"playersQueued"
],
"properties": {
"playersQueued": {
"type": "integer"
}
}
},
"messageId": {
"type": "string"
},
"type": {
"const": "event"
}
},
"tachyon": {
"scopes": [
"tachyon.lobby"
],
"source": "server",
"target": "user"
}
}Fields§
§command_id: Value§data: MatchmakingQueueUpdateEventData§message_id: String§type_: ValueImplementations§
Trait Implementations§
Source§impl Clone for MatchmakingQueueUpdateEvent
impl Clone for MatchmakingQueueUpdateEvent
Source§fn clone(&self) -> MatchmakingQueueUpdateEvent
fn clone(&self) -> MatchmakingQueueUpdateEvent
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 MatchmakingQueueUpdateEvent
impl Debug for MatchmakingQueueUpdateEvent
Source§impl<'de> Deserialize<'de> for MatchmakingQueueUpdateEvent
impl<'de> Deserialize<'de> for MatchmakingQueueUpdateEvent
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 From<MatchmakingQueueUpdateEvent> for MatchmakingQueueUpdateEvent
impl From<MatchmakingQueueUpdateEvent> for MatchmakingQueueUpdateEvent
Source§fn from(value: MatchmakingQueueUpdateEvent) -> Self
fn from(value: MatchmakingQueueUpdateEvent) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MatchmakingQueueUpdateEvent> for MatchmakingQueueUpdateEvent
impl TryFrom<MatchmakingQueueUpdateEvent> for MatchmakingQueueUpdateEvent
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MatchmakingQueueUpdateEvent) -> Result<Self, ConversionError>
fn try_from(value: MatchmakingQueueUpdateEvent) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MatchmakingQueueUpdateEvent
impl RefUnwindSafe for MatchmakingQueueUpdateEvent
impl Send for MatchmakingQueueUpdateEvent
impl Sync for MatchmakingQueueUpdateEvent
impl Unpin for MatchmakingQueueUpdateEvent
impl UnsafeUnpin for MatchmakingQueueUpdateEvent
impl UnwindSafe for MatchmakingQueueUpdateEvent
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