mirror of
https://git.proxmox.com/git/proxmox
synced 2025-11-04 19:26:16 +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>
|
||
|---|---|---|
| .. | ||
| debian | ||
| src | ||
| tests | ||
| Cargo.toml | ||