authentik_rust/models/
workers.rs

1/*
2 * authentik
3 *
4 * Making authentication simple.
5 *
6 * The version of the OpenAPI document: 2024.2.1
7 * Contact: hello@goauthentik.io
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct Workers {
15    #[serde(rename = "count")]
16    pub count: i32,
17}
18
19impl Workers {
20    pub fn new(count: i32) -> Workers {
21        Workers {
22            count,
23        }
24    }
25}
26