fediback 0.2.0

A mastodon account backup program
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use {
    serde::{Deserialize, Serialize},
};

#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Page<Item> {
    pub id: String,
    pub total_items: usize,
    pub ordered_items: Option<Vec<Item>>,
    pub first: Option<String>,
    pub next: Option<String>,
}