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
use crate::model::id::Id;

use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
pub struct Page {
    pub id: Id<Page>,
    #[serde(flatten)]
    pub content: serde_json::Map<String, serde_json::Value>,
}

impl_entity!(Page);