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