forked from proxmox-mirrors/proxmox
impl ApiType for bool
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
0d133c4d2c
commit
b1e3a9f0d2
@ -253,8 +253,9 @@ macro_rules! unconstrained_api_type {
|
||||
}
|
||||
|
||||
unconstrained_api_type! {Value} // basically our API's "any" type
|
||||
unconstrained_api_type! {&str}
|
||||
unconstrained_api_type! {String, isize, usize, i64, u64, i32, u32, i16, u16, i8, u8, f64, f32}
|
||||
unconstrained_api_type! {String, &str}
|
||||
unconstrained_api_type! {bool}
|
||||
unconstrained_api_type! {isize, usize, i64, u64, i32, u32, i16, u16, i8, u8, f64, f32}
|
||||
unconstrained_api_type! {Vec<String>}
|
||||
|
||||
// Raw return types are also okay:
|
||||
|
Loading…
Reference in New Issue
Block a user