forked from NewEriduPubSec/JaneDoe-ZS
TemplateID::new now returns Result<T, TemplateNotFoundError> Cleanup code in some of new handlers
11 lines
276 B
Rust
11 lines
276 B
Rust
use serde::Deserialize;
|
|
|
|
template_id!(TeleportConfig teleport_id);
|
|
|
|
#[derive(Deserialize, Debug)]
|
|
#[serde(rename_all = "PascalCase")]
|
|
pub struct TeleportConfigTemplate {
|
|
#[serde(rename = "TeleportID")]
|
|
pub teleport_id: TeleportConfigID,
|
|
pub client_visible: u32,
|
|
}
|