pub struct Command {
pub description: String,
pub id: i64,
pub name: String,
}Expand description
Command descriptor from the running simulator session.
JSON schema
{
"description": "Command descriptor from the running simulator session.",
"type": "object",
"required": [
"description",
"id",
"name"
],
"properties": {
"description": {
"description": "Human-readable command description.",
"type": "string"
},
"id": {
"description": "Session-local numeric identifier used to activate and subscribe to this command during the current simulator run.\n",
"type": "integer",
"format": "int64"
},
"name": {
"description": "Fully qualified command name.",
"type": "string"
}
}
}Fields§
§description: StringHuman-readable command description.
id: i64Session-local numeric identifier used to activate and subscribe to this command during the current simulator run.
name: StringFully qualified command name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Command
impl<'de> Deserialize<'de> for Command
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
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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