blob: 0384bab6ab23d36de45b8f79fbaa9296f61ac431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
use serde::{Deserialize, Serialize};
/// Represents a weekly bucket of instance activity.
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
pub struct Activity {
/// Midnight at the first day of the week.
pub week: String,
/// Statuses created since the week began.
pub statuses: String,
/// User logins since the week began.
pub logins: String,
/// User registrations since the week began.
pub registrations: String,
}
|