megalodon 1.0.1

Mastodon and Pleroma API client library for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::Deserialize;

use super::UserDetail;

#[derive(Debug, Deserialize, Clone)]
#[serde(rename_all = "camelCase")]
pub struct Follow {
    // id: String,
    // created_at: DateTime<Utc>,
    // followee_id: String,
    // follower_id: String,
    pub follower: UserDetail,
    pub followee: UserDetail,
}