mastodon API rust lib elefren, fixed and updated. and also all ASYNC! NB. most examples are now wrong.
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.
elefren-fork/src/entities/account.rs

17 lines
402 B

use chrono::prelude::*;
#[derive(Deserialize)]
pub struct Account {
pub id: u64,
pub username: String,
pub acct: String,
pub display_name: String,
pub note: String,
pub url: String,
pub avatar: String,
pub header: String,
pub locked: bool,
pub created_at: DateTime<UTC>,
pub followers_count: u64,
pub following_count: u64,
pub statuses_count: u64,
}