furse 1.6.1

A simple Rust wrapper for the official CurseForge API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod file_calls;
pub(crate) mod fingerprint_calls;
mod mod_calls;

use crate::{request::API_URL_BASE, structures::*, Furse, Result};

/// API responses are returned in this structure, with the actual results in `data` and optional `pagination`
#[derive(serde::Deserialize, serde::Serialize, Debug, Clone, Copy)]
#[serde(rename_all = "camelCase")]
pub(crate) struct Response<T> {
    data: T,
    pagination: Option<common_structs::Pagination>,
}