fediback 0.2.0

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

#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct User {
    pub id: String,
    pub preferred_username: String,
    pub name: String,
    pub summary: String,
    pub url: String,
    pub featured: Option<String>,
    pub following: Option<String>,
    pub followers: Option<String>,
    pub public_key: PublicKey,
}