1 2 3 4 5 6 7 8 9 10 11 12 13
//! Stored resource and response representation. use schemars::JsonSchema; use serde::Serialize; /// Resource returned by collection and creation endpoints. #[derive(Clone, Serialize, JsonSchema)] pub struct __TYPE__ { /// Server-generated unique identifier. pub id: String, /// Validated display name. pub name: String, }