Init
This commit is contained in:
27
scp_core/src/models/identifier_int.rs
Normal file
27
scp_core/src/models/identifier_int.rs
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user