notra 0.1.1

Unofficial Rust SDK for the Notra API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Pagination {
    pub current_page: u32,
    pub limit: u32,
    pub total_pages: Option<u32>,
    pub total_posts: Option<u32>,
    pub next_page: Option<u32>,
    pub previous_page: Option<u32>,
}