Expand description
This module defines the API query, request body and response body schema for this crate and its server by means of serde serializable and deserializable rust structs.
Structs§
- Info
Response - The json-response schema for
GET /api/info
. - RunRequest
- The json-body schema for
POST /api/run
. - RunResponse
- The json response format for
/api/run
and/api/runscript
. - RunScript
Query - The query schema for
POST /api/runscript
.
Enums§
- OsType
- The OS type as given by
#[cfg(windows)]
and#[cfg(unix)]
. - RunStatus
- The outcome of a command.
- Script
Interpreter - The interpreter that the script will be called with.