pub struct InfoResponse {
pub os_type: OsType,
pub computer_name: String,
pub api_version: String,
}
Expand description
The json-response schema for GET /api/info
.
§Serialized Example
{
"os_type": "Unix",
"computer_name": "GLaDOS",
"api_version": "2.0.0"
}
Fields§
§os_type: OsType
The operating system type running.
computer_name: String
Any descriptive name of the runner.
api_version: String
The version of the api supported. Defined by VERSION
.
Trait Implementations§
Source§impl Debug for InfoResponse
impl Debug for InfoResponse
Source§impl<'de> Deserialize<'de> for InfoResponse
impl<'de> Deserialize<'de> for InfoResponse
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 InfoResponse
impl RefUnwindSafe for InfoResponse
impl Send for InfoResponse
impl Sync for InfoResponse
impl Unpin for InfoResponse
impl UnwindSafe for InfoResponse
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