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