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 Muting {
    pub id: Id<Muting>,
    pub created_at: DateTime<Utc>,
    pub mutee_id: Id<User>,
    pub mutee: User,
}

impl_entity!(Muting);