notion_client/endpoints/pages/retrieve/
response.rs

1use serde::{Deserialize, Serialize};
2
3use crate::objects::property::Property;
4
5#[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Clone)]
6#[serde(tag = "object", rename_all = "snake_case")]
7pub enum RetrieveAPagePropertyItemResponse {
8    PropertyItem {
9        #[serde(flatten)]
10        item: Property,
11    },
12    List {
13        results: Vec<RetrieveAPagePropertyItemResponse>,
14        next_cursor: Option<String>,
15        has_more: bool,
16        next_url: Option<String>,
17    },
18}