mirror of
https://git.proxmox.com/git/proxmox
synced 2025-11-30 05:49:15 +00:00
Support raw parameter name identifiers (eg. `r#type`)
#[api(
input: {
properties: {
type: {
type: String,
description: "Foo",
},
},
},
)]
fn foo(r#type: String) { code... }
The "r#type" parameter in the fn decl will match the "type"
parameter name in the input property list.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
|
||
|---|---|---|
| .. | ||
| api1.rs | ||
| api2.rs | ||
| ext-schema.rs | ||
| int-limits.rs | ||
| options.rs | ||
| types.rs | ||