geoengine_api_client/models/
operator_quota.rs1use crate::models;
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct OperatorQuota {
15 #[serde(rename = "count")]
16 pub count: i64,
17 #[serde(rename = "operatorName")]
18 pub operator_name: String,
19 #[serde(rename = "operatorPath")]
20 pub operator_path: String,
21}
22
23impl OperatorQuota {
24 pub fn new(count: i64, operator_name: String, operator_path: String) -> OperatorQuota {
25 OperatorQuota {
26 count,
27 operator_name,
28 operator_path,
29 }
30 }
31}
32