notion-sdk 0.0.0

A rust implementation of the nvd-yew.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::block::Block;
use crate::common::rich_text::{RichText, TextColor};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Clone)]
pub struct ToDoFields {
    pub rich_text: Vec<RichText>,
    pub checked: bool,
    pub children: Option<Vec<Block>>,
    pub color: TextColor,
}