pub struct AutohostSendCommandRequestData {
pub arguments: Vec<String>,
pub battle_id: Uuid,
pub command: String,
}Expand description
AutohostSendCommandRequestData
JSON schema
{
"title": "AutohostSendCommandRequestData",
"type": "object",
"required": [
"battleId",
"command"
],
"properties": {
"arguments": {
"type": "array",
"items": {
"type": "string"
}
},
"battleId": {
"type": "string",
"format": "uuid"
},
"command": {
"type": "string"
}
}
}Fields§
§arguments: Vec<String>§battle_id: Uuid§command: StringImplementations§
Trait Implementations§
Source§impl Clone for AutohostSendCommandRequestData
impl Clone for AutohostSendCommandRequestData
Source§fn clone(&self) -> AutohostSendCommandRequestData
fn clone(&self) -> AutohostSendCommandRequestData
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<'de> Deserialize<'de> for AutohostSendCommandRequestData
impl<'de> Deserialize<'de> for AutohostSendCommandRequestData
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<AutohostSendCommandRequestData> for AutohostSendCommandRequestData
impl From<AutohostSendCommandRequestData> for AutohostSendCommandRequestData
Source§fn from(value: AutohostSendCommandRequestData) -> Self
fn from(value: AutohostSendCommandRequestData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<AutohostSendCommandRequestData> for AutohostSendCommandRequestData
impl TryFrom<AutohostSendCommandRequestData> for AutohostSendCommandRequestData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: AutohostSendCommandRequestData,
) -> Result<Self, ConversionError>
fn try_from( value: AutohostSendCommandRequestData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AutohostSendCommandRequestData
impl RefUnwindSafe for AutohostSendCommandRequestData
impl Send for AutohostSendCommandRequestData
impl Sync for AutohostSendCommandRequestData
impl Unpin for AutohostSendCommandRequestData
impl UnsafeUnpin for AutohostSendCommandRequestData
impl UnwindSafe for AutohostSendCommandRequestData
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