pub struct LobbyCreateRequestData {
pub ally_team_config: AllyTeamConfig,
pub are_bosses_enabled: bool,
pub game_options: HashMap<LobbyCreateRequestDataGameOptionsKey, LobbyCreateRequestDataGameOptionsValue>,
pub map_name: String,
pub name: String,
pub tags: HashMap<LobbyCreateRequestDataTagsKey, Map<String, Value>>,
}Expand description
LobbyCreateRequestData
JSON schema
{
"title": "LobbyCreateRequestData",
"type": "object",
"required": [
"allyTeamConfig",
"mapName",
"name"
],
"properties": {
"allyTeamConfig": {
"$ref": "#/definitions/allyTeamConfig"
},
"areBossesEnabled": {
"default": true,
"type": "boolean"
},
"gameOptions": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string"
}
}
}
}
},
"mapName": {
"type": "string"
},
"name": {
"type": "string"
},
"tags": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": "object"
}
}
}
}
}Fields§
§ally_team_config: AllyTeamConfig§are_bosses_enabled: bool§game_options: HashMap<LobbyCreateRequestDataGameOptionsKey, LobbyCreateRequestDataGameOptionsValue>§map_name: String§name: StringImplementations§
Source§impl LobbyCreateRequestData
impl LobbyCreateRequestData
pub fn builder() -> LobbyCreateRequestData
Trait Implementations§
Source§impl Clone for LobbyCreateRequestData
impl Clone for LobbyCreateRequestData
Source§fn clone(&self) -> LobbyCreateRequestData
fn clone(&self) -> LobbyCreateRequestData
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 LobbyCreateRequestData
impl Debug for LobbyCreateRequestData
Source§impl<'de> Deserialize<'de> for LobbyCreateRequestData
impl<'de> Deserialize<'de> for LobbyCreateRequestData
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<LobbyCreateRequestData> for LobbyCreateRequestData
impl From<LobbyCreateRequestData> for LobbyCreateRequestData
Source§fn from(value: LobbyCreateRequestData) -> Self
fn from(value: LobbyCreateRequestData) -> Self
Converts to this type from the input type.
Source§impl Serialize for LobbyCreateRequestData
impl Serialize for LobbyCreateRequestData
Source§impl TryFrom<LobbyCreateRequestData> for LobbyCreateRequestData
impl TryFrom<LobbyCreateRequestData> for LobbyCreateRequestData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: LobbyCreateRequestData) -> Result<Self, ConversionError>
fn try_from(value: LobbyCreateRequestData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for LobbyCreateRequestData
impl RefUnwindSafe for LobbyCreateRequestData
impl Send for LobbyCreateRequestData
impl Sync for LobbyCreateRequestData
impl Unpin for LobbyCreateRequestData
impl UnsafeUnpin for LobbyCreateRequestData
impl UnwindSafe for LobbyCreateRequestData
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