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