src/global/common/exposed/universal/stats.rs

12 lines · 320 bytes

1 symbol in this file
 1use crate::global::common::hidden::*;
 2use serde::{Deserialize, Serialize};
 3
 4#[derive(Serialize, Deserialize, Debug, Clone)]
 5pub struct Stats {
 6    pub version: String,
 7    pub software: Software,
 8    #[serde(rename = "openRegistrations")]
 9    pub registrations: bool,
10    pub usage: Usage,
11    pub metadata: Metadata,
12}