Files
cupcontrol/scp_core/src/models/identifier_int.rs
2025-12-25 13:59:50 +01:00

28 lines
595 B
Rust

/*
* SCP (Server Control Panel) REST API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2025.1218.164029
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct IdentifierInt {
#[serde(rename = "id")]
pub id: i32,
}
impl IdentifierInt {
pub fn new(id: i32) -> IdentifierInt {
IdentifierInt {
id,
}
}
}