trieve_client/models/usage_graph_point.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 UsageGraphPoint {
15 #[serde(rename = "requests")]
16 pub requests: i64,
17 #[serde(rename = "time_stamp")]
18 pub time_stamp: String,
19}
20
21impl UsageGraphPoint {
22 pub fn new(requests: i64, time_stamp: String) -> UsageGraphPoint {
23 UsageGraphPoint {
24 requests,
25 time_stamp,
26 }
27 }
28}
29