summaryrefslogtreecommitdiffstats
path: root/src/rep.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rep.rs')
-rw-r--r--src/rep.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rep.rs b/src/rep.rs
index 7a96367..67b1028 100644
--- a/src/rep.rs
+++ b/src/rep.rs
@@ -404,10 +404,17 @@ pub struct Top {
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct Version {
- pub api_version: String,
pub version: String,
+ pub api_version: String,
pub git_commit: String,
pub go_version: String,
+ pub os: String,
+ pub arch: String,
+ pub kernel_version: String,
+ #[cfg(feature = "chrono")]
+ pub build_time: DateTime<Utc>,
+ #[cfg(not(feature = "chrono"))]
+ pub build_time: String,
}
#[derive(Clone, Debug, Serialize, Deserialize)]