You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
462 B
15 lines
462 B
4 years ago
|
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,
|
||
|
}
|