trieve_client/models/
get_datasets_pagination.rs

1/*
2 * Trieve API
3 *
4 * Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5 *
6 * The version of the OpenAPI document: 0.11.7
7 * Contact: developers@trieve.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct GetDatasetsPagination {
15    #[serde(rename = "limit", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
16    pub limit: Option<Option<i64>>,
17    #[serde(rename = "offset", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
18    pub offset: Option<Option<i64>>,
19}
20
21impl GetDatasetsPagination {
22    pub fn new() -> GetDatasetsPagination {
23        GetDatasetsPagination {
24            limit: None,
25            offset: None,
26        }
27    }
28}
29