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