anytype_rs 0.0.3

A Rust client library and CLI for the Anytype API
Documentation
use serde::{Deserialize, Serialize};

/// Generic API error response
#[derive(Debug, Deserialize)]
pub struct ApiErrorResponse {
    pub code: String,
    pub message: String,
    pub object: String,
    pub status: u32,
}

/// Pagination information
#[derive(Debug, Deserialize, Serialize)]
pub struct Pagination {
    pub has_more: bool,
    pub limit: u32,
    pub offset: u32,
    pub total: u32,
}