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

84c4617332578aaf4e9ee68a0a2d7d6258e48243
youtube-tui/src/global/common/exposed/universal/stats.rs history · blame · raw

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}