misskey-api 0.2.0

API bindings of Misskey, including requests/responses of endpoints and messages on channels
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::model::{id::Id, user::User};

use chrono::{DateTime, Utc};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct UserList {
    pub id: Id<UserList>,
    pub created_at: DateTime<Utc>,
    pub name: String,
    pub user_ids: Vec<Id<User>>,
}

impl_entity!(UserList);